System Gen146 @ 2025-02-12-18:50:34

This commit is contained in:
Jonas Röger 2025-02-12 18:50:35 +01:00
parent a3a2e3ab9e
commit ed82b2d4ef

View File

@ -39,7 +39,7 @@
exit 1
fi
echo "Updating nix-flake..."
nix flake update .
nix flake update --flake .
echo "NixOS Rebuilding..."
${pkgs.unstable.nh}/bin/nh os switch ~/.nixos
gen=$(sudo nix-env --list-generations --profile /nix/var/nix/profiles/system | ${pkgs.gnugrep}/bin/grep current | ${pkgs.gawk}/bin/awk '{print "Gen" $1 " @ " $2 "-" $3}')
@ -56,7 +56,7 @@
exit 1
fi
echo "Updating nix-flake..."
nix flake update .
nix flake update --flake .
echo "NixOS Building..."
${pkgs.unstable.nh}/bin/nh os build ~/.nixos
popd