diff --git a/.envrc b/.envrc index 79f582f..532f64c 100644 --- a/.envrc +++ b/.envrc @@ -21,8 +21,7 @@ if ! test -s .remote.toml; then else use flake .#envrc-remote echo - echo "Current remote: $(remote-host)" - tomlq <.remote.toml '.hosts | to_entries[] | "remote-set \(.key+1) # -> \(.value.host)"' -r + just list-remotes echo fi diff --git a/hosts/noximilien/default.nix b/hosts/noximilien/default.nix index 805275a..3efa263 100644 --- a/hosts/noximilien/default.nix +++ b/hosts/noximilien/default.nix @@ -38,12 +38,12 @@ ../../profiles/http/services/rss-bridge.nix #../../profiles/http/services/jellyfin.nix ../../profiles/http/services/plex.nix - ../../profiles/http/services/tautulli.nix + ../../profiles/http/services/tautulli.nix # will run a first-time-setup where admin account is made ../../profiles/http/services/libreddit.nix #../../profiles/http/services/mattermost.nix #../../profiles/http/services/navidrome.nix ../../profiles/http/services/netdata.nix - ../../profiles/http/services/nitter.nix + #../../profiles/http/services/nitter.nix #../../profiles/http/services/ntopng.nix ../../profiles/http/services/microbin.nix #../../profiles/http/services/owncast.nix @@ -77,7 +77,7 @@ ../../profiles/http/docs/programs.nix ../../profiles/http/docs/yagcd.nix - #../../profiles/http/sites/linktree-pbsds.nix + #../../profiles/http/sites/linktree-pbsds.nix # github bby!! TODO: remove ../../profiles/http/sites/refleksjon-no.nix ../../profiles/http/sites/roroslyd-no.nix ../../profiles/http/sites/kuklefse.nix @@ -91,7 +91,7 @@ #../../profiles/xrdp ]; services.domeneshop-updater.targets = [ - #"pbsds.net" + #"pbsds.net" # github bby!! TODO: remove "olavtr.pbsds.net" "kuklef.se" ]; diff --git a/justfile b/justfile index 9e8873a..acb8681 100644 --- a/justfile +++ b/justfile @@ -3,6 +3,9 @@ #just --list --list-prefix ' just ' just "$(gum choose $(just --summary --unsorted))" +@set-remote: + tomlq <.remote.toml '.hosts | to_entries[] | "remote-set \(.key+1) # -> \(.value.host)" | @sh "\(.)"' -r | xargs gum choose | sh + report: nix eval .#nixosReports --json | yq . --yaml-output @@ -25,3 +28,7 @@ switch: boot: sudo nixos-rebuild boot --flake . + +@list-remotes: + echo Current remote: $(remote-host) + tomlq <.remote.toml '.hosts | to_entries[] | "remote-set \(.key+1) # -> \(.value.host)"' -r