feat: set optimal nix settings

This commit is contained in:
tux
2025-02-22 16:27:26 +05:30
parent f35e1627c3
commit 55e31c03fc

View File

@ -5,11 +5,22 @@
}: { }: {
nix = { nix = {
package = pkgs.lix; package = pkgs.lix;
gc = {
automatic = true;
options = "--delete-older-than 3d";
};
channel.enable = false;
settings = { settings = {
experimental-features = "nix-command flakes";
auto-optimise-store = true; auto-optimise-store = true;
allowed-users = ["${username}"];
trusted-users = ["${username}"]; trusted-users = ["${username}"];
experimental-features = "nix-command flakes";
keep-going = true;
warn-dirty = false; warn-dirty = false;
http-connections = 50;
}; };
}; };
} }