mirror of
https://git.gay/xqtc/nixos-config
synced 2024-11-25 21:53:55 +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.
|
[ # Include the results of the hardware scan.
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
../antivirus.nix
|
../antivirus.nix
|
||||||
|
../gc.nix
|
||||||
#nixos-hardware.nixosModules.lenovo.thinkpad.t480
|
#nixos-hardware.nixosModules.lenovo.thinkpad.t480
|
||||||
#(builtins.getFlake (builtins.fetchGit "github:NixOs/nixos-hardware")).nixosModules.lenovo-thinkpad-t480
|
#(builtins.getFlake (builtins.fetchGit "github:NixOs/nixos-hardware")).nixosModules.lenovo-thinkpad-t480
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in a new issue