forked from Mirrors/nixos-infect
update to nixos 24.05
This commit is contained in:
parent
9f826561fd
commit
736938dfc9
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue