nixos: set stateVersion by hosts

This commit is contained in:
Guanran Wang 2023-12-25 08:13:56 +08:00
parent 3afbeb299b
commit 82eafc1aba
Signed by: nyancat
SSH key fingerprint: SHA256:8oWGKciPALWut/6WA27oFKofX+6Wtc0gQnsefXLQx/8
2 changed files with 1 additions and 12 deletions

View file

@ -18,4 +18,5 @@
boot.initrd.availableKernelModules = ["xhci_pci" "ahci" "nvme" "usbhid"];
boot.kernelModules = ["kvm-intel"];
nixpkgs.hostPlatform = "x86_64-linux";
system.stateVersion = "23.05";
}

View file

@ -31,16 +31,4 @@
info.enable = false;
nixos.enable = false;
};
system = {
# This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions
# on your system were taken. It's perfectly fine and recommended to leave
# this value at the release version of the first install of this system.
# Before changing this value read the documentation for this option
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
# TLDR: leave it alone
stateVersion = "23.05";
};
}