From 58a223cf61a1a12ac0c06adbd4927c626d148df8 Mon Sep 17 00:00:00 2001 From: Adithya Nair Date: Sat, 8 Jun 2024 22:17:02 +0530 Subject: [PATCH] cleanup nix configs --- common/nix.nix | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) 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" ];