This commit is contained in:
Peder Bergebakken Sundt 2024-02-01 02:06:03 +01:00
parent f90e260b29
commit 50b31df316
3 changed files with 12 additions and 6 deletions

3
.envrc
View File

@ -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

View File

@ -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"
];

View File

@ -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