feat(modules): move nix settings to a seperate module
This commit is contained in:
parent
e5bd395fd8
commit
e36875131b
8 changed files with 66 additions and 57 deletions
|
@ -46,21 +46,6 @@
|
|||
git
|
||||
];
|
||||
|
||||
nix.settings = {
|
||||
experimental-features = [ "nix-command" "flakes" ];
|
||||
substituters = "https://cache.garnix.io";
|
||||
trusted-public-keys = "cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g=";
|
||||
};
|
||||
|
||||
nix.gc = {
|
||||
automatic = true;
|
||||
dates = "weekly";
|
||||
options = "--delete-older-than 7d";
|
||||
};
|
||||
nix.optimise.automatic = true;
|
||||
nix.settings.auto-optimise-store = true;
|
||||
|
||||
|
||||
system.stateVersion = "22.11";
|
||||
|
||||
networking = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue