flake update

This commit is contained in:
John Lancaster
2025-03-20 18:47:07 -05:00
parent faa8df37fc
commit e522024eb9
3 changed files with 22 additions and 20 deletions

View File

@@ -7,7 +7,7 @@
(pkgs.writeShellScriptBin "nfsu" ''
FLAKE=$(readlink -f /etc/nixos)
nix flake update --flake $FLAKE --impure
git -C /etc/nixos add $FLAKE > /dev/null 2>&1
git -C $FLAKE add "$FLAKE/flake.lock" > /dev/null 2>&1
sudo nixos-rebuild switch --flake $FLAKE#${systemSettings.hostName} --impure
'')
(pkgs.writeShellScriptBin "ads" "nix develop --no-pure-eval $(readlink -f /etc/nixos)")