auto cleanup Downloads

This commit is contained in:
Sean Buckley 2021-05-02 22:17:54 -04:00
parent f0d6adf878
commit bbfbae51cf

View file

@ -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;