Update to NixOS 24.11

This commit is contained in:
Pim Kunis 2024-11-30 13:14:46 +01:00
parent c0a75e8e0e
commit a90c75931b
12 changed files with 140 additions and 99 deletions

View file

@ -62,6 +62,7 @@
services = {
xserver.excludePackages = [pkgs.xterm];
printing.drivers = [pkgs.hplip pkgs.gutenprint];
tailscale.enable = true;
pipewire = {
alsa.enable = true;
@ -96,15 +97,11 @@
];
};
system = {
stateVersion = "23.05";
activationScripts.diff = ''
if [[ -e /run/current-system ]]; then
${pkgs.nix}/bin/nix store diff-closures /run/current-system "$systemConfig"
fi
'';
};
system.activationScripts.diff = ''
if [[ -e /run/current-system ]]; then
${pkgs.nix}/bin/nix store diff-closures /run/current-system "$systemConfig"
fi
'';
security = {
rtkit.enable = true;
@ -115,7 +112,7 @@
};
nix = {
package = pkgs.nixFlakes;
package = pkgs.nixVersions.stable;
extraOptions = ''
experimental-features = nix-command flakes
@ -147,6 +144,7 @@
"steam"
"steam-original"
"steam-run"
"steam-unwrapped"
];
};