Compare commits

...

1 commit
nya ... master

Author SHA1 Message Date
736938dfc9
update to nixos 24.05 2024-06-02 14:26:55 +02:00

View file

@ -44,7 +44,7 @@ makeConf() {
networking.domain = "$(hostname -d)"; networking.domain = "$(hostname -d)";
services.openssh.enable = true; services.openssh.enable = true;
security.sudo.wheelNeedsPassword = false; security.sudo.wheelNeedsPassword = false;
system.stateVersion = "23.11"; system.stateVersion = "24.05";
users.users.root.openssh.authorizedKeys.keys = keys; users.users.root.openssh.authorizedKeys.keys = keys;
users.users.sammy = { users.users.sammy = {
isNormalUser = true; isNormalUser = true;
@ -320,7 +320,7 @@ infect() {
# shellcheck disable=SC1090 # shellcheck disable=SC1090
source ~/.nix-profile/etc/profile.d/nix.sh 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 --remove nixpkgs
nix-channel --add "https://nixos.org/channels/$NIX_CHANNEL" nixos nix-channel --add "https://nixos.org/channels/$NIX_CHANNEL" nixos
nix-channel --update nix-channel --update