diff --git a/common/nix.nix b/common/nix.nix index 0362ca1..17c3e00 100644 --- a/common/nix.nix +++ b/common/nix.nix @@ -1,11 +1,8 @@ -{ nixpkgs -, pkgs -, ... -}: { +_: { nix = { - package = pkgs.nixFlakes; - nixPath = [ "nixpkgs=${nixpkgs}" ]; - registry.nixpkgs.flake = nixpkgs; + channel.enable = false; + daemonCPUSchedPolicy = "idle"; + daemonIOSchedClass = "idle"; settings = { auto-optimise-store = true; experimental-features = [ "nix-command" "flakes" "auto-allocate-uids" "cgroups" "ca-derivations" ];