From 736938dfc9e77db46d6b39812f78187239bf3d8a Mon Sep 17 00:00:00 2001 From: CherryKitten Date: Sun, 2 Jun 2024 14:23:53 +0200 Subject: [PATCH] update to nixos 24.05 --- nixos-infect | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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