chore: Finalize updating.
This commit is contained in:
parent
431e9fd706
commit
254658dfca
2 changed files with 6 additions and 6 deletions
|
@ -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";
|
||||
|
|
|
@ -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
|
Reference in a new issue