Switch to nh
This commit is contained in:
parent
c6438b2f1d
commit
0c83cdaaac
1 changed files with 6 additions and 6 deletions
|
@ -8,12 +8,6 @@
|
|||
nixpkgs.hostPlatform = lib.mkDefault system;
|
||||
|
||||
nix = {
|
||||
gc = {
|
||||
automatic = true;
|
||||
dates = "weekly";
|
||||
options = "--delete-older-than 2w";
|
||||
randomizedDelaySec = "45min";
|
||||
};
|
||||
settings = {
|
||||
auto-optimise-store = true;
|
||||
};
|
||||
|
@ -91,6 +85,12 @@
|
|||
};
|
||||
|
||||
programs = {
|
||||
nh = {
|
||||
enable = true;
|
||||
clean.enable = true;
|
||||
clean.extraArgs = "--keep-since 14d --keep 16";
|
||||
flake = "/home/tristand/nix";
|
||||
};
|
||||
rust-motd = {
|
||||
enable = true;
|
||||
enableMotdInSSHD = true;
|
||||
|
|
Loading…
Add table
Reference in a new issue