diff --git a/nixos-infect b/nixos-infect index 63b3e77..ffa5e81 100644 --- a/nixos-infect +++ b/nixos-infect @@ -44,7 +44,7 @@ makeConf() { networking.domain = "$(hostname -d)"; services.openssh.enable = true; security.sudo.wheelNeedsPassword = false; - system.stateVersion = "23.11"; + system.stateVersion = "24.05"; users.users.root.openssh.authorizedKeys.keys = keys; users.users.sammy = { isNormalUser = true; @@ -320,7 +320,7 @@ infect() { # shellcheck disable=SC1090 source ~/.nix-profile/etc/profile.d/nix.sh - [[ -z "$NIX_CHANNEL" ]] && NIX_CHANNEL="nixos-23.05" + [[ -z "$NIX_CHANNEL" ]] && NIX_CHANNEL="nixos-24.05" nix-channel --remove nixpkgs nix-channel --add "https://nixos.org/channels/$NIX_CHANNEL" nixos nix-channel --update