l 2: add automatic garbage collection
This commit is contained in:
parent
f6d5a9716f
commit
6b8c65b070
lass/2configs
|
@ -9,6 +9,7 @@ with config.krebs.lib;
|
|||
../2configs/retiolum.nix
|
||||
../2configs/nixpkgs.nix
|
||||
../2configs/binary-cache/client.nix
|
||||
../2configs/gc.nix
|
||||
./backups.nix
|
||||
{
|
||||
users.extraUsers =
|
||||
|
|
8
lass/2configs/gc.nix
Normal file
8
lass/2configs/gc.nix
Normal file
|
@ -0,0 +1,8 @@
|
|||
{ config, ... }:
|
||||
|
||||
with config.krebs.lib;
|
||||
{
|
||||
nix.gc = {
|
||||
automatic = ! elem config.krebs.build.host.name [ "prism" "mors" ];
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue