mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-12-21 19:24:15 +00:00
auto cleanup Downloads
This commit is contained in:
parent
f0d6adf878
commit
bbfbae51cf
1 changed files with 4 additions and 1 deletions
|
@ -13,7 +13,10 @@
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
environment.variables.NIXPKGS_ALLOW_UNFREE = "1";
|
environment.variables.NIXPKGS_ALLOW_UNFREE = "1";
|
||||||
|
|
||||||
systemd.tmpfiles.rules = [ "e /nix/var/log - - - 30d" ];
|
systemd.tmpfiles.rules = [
|
||||||
|
"e /nix/var/log - - - 30d"
|
||||||
|
"e /home/sean/Downloads - - - 9d"
|
||||||
|
];
|
||||||
|
|
||||||
zramSwap.enable = true;
|
zramSwap.enable = true;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue