Switch to nh

This commit is contained in:
Tristan D. 2024-07-16 17:03:56 +02:00
parent c6438b2f1d
commit 0c83cdaaac
Signed by: tristan
SSH key fingerprint: SHA256:9oFM1J63hYWJjCnLG6C0fxBS15rwNcWwdQNMOHYKJ/4

View file

@ -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;