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 = { nix = {
package = pkgs.nixFlakes; channel.enable = false;
nixPath = [ "nixpkgs=${nixpkgs}" ]; daemonCPUSchedPolicy = "idle";
registry.nixpkgs.flake = nixpkgs; daemonIOSchedClass = "idle";
settings = { settings = {
auto-optimise-store = true; auto-optimise-store = true;
experimental-features = [ "nix-command" "flakes" "auto-allocate-uids" "cgroups" "ca-derivations" ]; experimental-features = [ "nix-command" "flakes" "auto-allocate-uids" "cgroups" "ca-derivations" ];