mirror of
https://github.com/tuxdotrs/tawm.git
synced 2025-07-05 20:56:33 +05:30
feat: set optimal nix settings
This commit is contained in:
@ -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;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user