Skip to content

Commit

Permalink
feat(nix): garbage collection
Browse files Browse the repository at this point in the history
  • Loading branch information
nagy135 committed Jun 11, 2022
1 parent 6db759d commit a285684
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions nixos/configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,13 @@
};
};

nix.autoOptimiseStore = true;
nix.gc = {
automatic = true;
dates = "weekly";
options = "--delete-older-than 30d";
};

nixpkgs.config.allowUnfree = true;

# Enable the X11 windowing system.
Expand Down

0 comments on commit a285684

Please sign in to comment.