mirror of
https://git.gay/xqtc/nixos-config
synced 2024-11-22 09:30:32 +01:00
Adding GC
This commit is contained in:
parent
ffe7baf013
commit
b6fad0b332
8
hosts/gc.nix
Normal file
8
hosts/gc.nix
Normal file
|
@ -0,0 +1,8 @@
|
|||
{ config, ... }:
|
||||
{
|
||||
nix.gc = {
|
||||
automatic = true;
|
||||
dates = "weekly";
|
||||
options = "--delete-older-than 10d";
|
||||
};
|
||||
}
|
|
@ -5,6 +5,7 @@
|
|||
[ # Include the results of the hardware scan.
|
||||
./hardware-configuration.nix
|
||||
../antivirus.nix
|
||||
../gc.nix
|
||||
#nixos-hardware.nixosModules.lenovo.thinkpad.t480
|
||||
#(builtins.getFlake (builtins.fetchGit "github:NixOs/nixos-hardware")).nixosModules.lenovo-thinkpad-t480
|
||||
];
|
||||
|
|
Loading…
Reference in a new issue