diff --git a/configs/common.nix b/configs/common.nix index 8a5d687..550ca27 100644 --- a/configs/common.nix +++ b/configs/common.nix @@ -51,6 +51,7 @@ in { environment = { systemPackages = with pkgs; [ + agenix.packages.${pkgs.system}.default neovim git curl @@ -90,7 +91,6 @@ in { nix = { package = pkgs.lix; - channel.enable = false; gc = { automatic = true; @@ -104,18 +104,10 @@ in { u.flake = camasca; }; - # give nix daemon lower priority - daemonCPUSchedPolicy = "batch"; - daemonIOSchedClass = "idle"; - settings = { auto-optimise-store = true; experimental-features = ["nix-command" "flakes"]; trusted-users = ["root" "@wheel"]; - connect-timeout = 5; # fail fast if substituters are not available - builders-use-substitutes = true; - log-lines = 25; - min-free = 512 * 1024 * 1024; # if free space drops under min, gc substituters = [ "https://uku3lig.cachix.org" diff --git a/flake.nix b/flake.nix index 2c8bb2c..f8e157a 100644 --- a/flake.nix +++ b/flake.nix @@ -5,7 +5,6 @@ self, flake-parts, nixinate, - agenix, ... } @ inputs: flake-parts.lib.mkFlake {inherit inputs;} { @@ -24,11 +23,7 @@ devShells.default = with pkgs; mkShellNoCC { - packages = [ - just - statix - agenix.packages.${system}.default - ]; + packages = [just statix]; }; formatter = pkgs.alejandra;