hosts/ni: update Nix settings

This commit is contained in:
Gabriel Arazas 2023-12-17 11:57:44 +08:00
parent 90a54db08b
commit 761a2f094e
No known key found for this signature in database
GPG Key ID: ADE0C41DAB221FCC

View File

@ -66,8 +66,14 @@
# Basically, the most basic nixpkgs configuration. # Basically, the most basic nixpkgs configuration.
environment.variables.NIXPKGS_CONFIG = lib.mkForce ./config/nixpkgs/config.nix; environment.variables.NIXPKGS_CONFIG = lib.mkForce ./config/nixpkgs/config.nix;
# Make Nix experimental.
nix.package = pkgs.nixUnstable;
# Some more experimentals for Nix. # Some more experimentals for Nix.
nix.settings.experimental-features = [ "auto-allocate-uids" "configurable-impure-env" ]; nix.settings.experimental-features = [ "auto-allocate-uids" "configurable-impure-env" ];
# My poor achy-breaky desktop can't take it.
nix.daemonCPUSchedPolicy = "idle";
system.stateVersion = "24.05"; # Yes! I read the comment! system.stateVersion = "24.05"; # Yes! I read the comment!
} }