diff --git a/home/home.nix b/home/home.nix index 47cde61..eef3d9f 100644 --- a/home/home.nix +++ b/home/home.nix @@ -27,7 +27,7 @@ in curl dnsutils - insomnia + bruno screenfetch neofetch @@ -45,12 +45,13 @@ in podman-compose pkgs.spotify + + pkgs.jetbrains.idea-community-bin ] ++ (if osConfig.ruben.host.work then [ # work applications pkgs.teams-for-linux pkgs.postman pkgs.dbeaver-bin - pkgs.jetbrains.idea-community-bin pkgs.thunderbird ] else [ # private applications diff --git a/home/ssh.nix b/home/ssh.nix index 45ffbb3..f094b27 100644 --- a/home/ssh.nix +++ b/home/ssh.nix @@ -40,7 +40,7 @@ }; # git remotes - github = { + "github.com" = { hostname = "github.com"; port = 22; }; @@ -49,7 +49,7 @@ port = 22; identityFile = [ "~/.ssh/id_ed25519_sk" ]; }; - gitlab = { + "gitlab.com" = { hostname = "gitlab.com"; port = 22; }; diff --git a/home/sway/waybar/default.nix b/home/sway/waybar/default.nix index d227af6..5d15241 100644 --- a/home/sway/waybar/default.nix +++ b/home/sway/waybar/default.nix @@ -17,6 +17,7 @@ # connecting "network" "custom/vpn" + "custom/spacestatus" "bluetooth" # media "idle_inhibitor" @@ -48,6 +49,14 @@ fi ''; }; + "custom/spacestatus" = { + interval = 10; + tooltip = false; + format = "SPACESTATUS: {}"; + exec = pkgs.writeShellScript "spacestatus-waybar" '' + ${pkgs.curl}/bin/curl -s https://spaceapi.sfz-aalen.space/api/spaceapi.json | ${pkgs.jq}/bin/jq '.state.open' + ''; + }; "custom/nixstore" = { exec = "${pkgs.coreutils}/bin/du -sh /nix/store | ${pkgs.gnused}/bin/sed 's/\\([0-9]\\+[A-Z]\\+\\).*/\\1/'"; interval = 300; diff --git a/home/sway/waybar/waybar.css-style.nix b/home/sway/waybar/waybar.css-style.nix index 2669fae..b224747 100644 --- a/home/sway/waybar/waybar.css-style.nix +++ b/home/sway/waybar/waybar.css-style.nix @@ -61,6 +61,7 @@ in /* Each module */ #custom-nixstore, #custom-vpn, + #custom-spacestatus, #custom-clipboard, #custom-dnd, #bluetooth, @@ -84,6 +85,7 @@ in /* Joined modules */ #custom-nixstore, #custom-vpn, + #custom-spacestatus, #custom-dnd, #bluetooth, #battery,