chore: Finalize updating.

This commit is contained in:
greysoh 2024-07-19 14:21:48 -04:00
parent 431e9fd706
commit 254658dfca
Signed by: imterah
GPG key ID: 8FA7DD57BA6CEA37
2 changed files with 6 additions and 6 deletions

View file

@ -62,10 +62,6 @@ in {
initialPassword = "1234";
isNormalUser = true;
extraGroups = ["sudoer" "wheel" "docker"];
packages = with pkgs; [
git
];
};
environment.systemPackages = with pkgs; [
@ -75,8 +71,8 @@ in {
htop
bottom
# For some reason, after seperation, this package isn't included anymore, but the services are
k3s
# Updating
git
];
system.stateVersion = "24.05";

View file

@ -12,5 +12,9 @@ if [[ "$UID" != "0" ]]; then
exit $?
fi
pushd /etc/nixos 2> /dev/null > /dev/null
git pull
popd 2> /dev/null > /dev/null
export NIX_PATH="$(printf $NIX_PATH | sed --expression="s#/etc/nixos/configuration.nix#/etc/nixos/nixinfra/$NIX_BUILD_ID.nix#g")"
nixos-rebuild switch --upgrade