cleanup nix configs

This commit is contained in:
Adithya 2024-06-08 22:17:02 +05:30
parent dabe2b2e75
commit 58a223cf61
Signed by: adtya
GPG key ID: B8857BFBA2C47B9C

View file

@ -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" ];