mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 19:51:34 +01:00
Rename gc module
This commit is contained in:
parent
23f28419b4
commit
e8c51558c4
3 changed files with 4 additions and 4 deletions
|
|
@ -1,15 +0,0 @@
|
|||
{ config, lib, ... }:
|
||||
{
|
||||
options.myConfig.garbageCollection.enable = lib.mkEnableOption "";
|
||||
|
||||
config = lib.mkIf config.myConfig.garbageCollection.enable {
|
||||
programs.nh = {
|
||||
enable = true;
|
||||
clean = {
|
||||
enable = true;
|
||||
dates = "daily";
|
||||
extraArgs = "--keep 10 --keep-since 7d";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue