From 9ec2173a9ef945871763b006a9e2ffc15db0cf05 Mon Sep 17 00:00:00 2001 From: RGBCube Date: Wed, 8 Nov 2023 08:36:10 +0300 Subject: [PATCH] Automatically collect store garbage --- flake.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index ed6df11..c613331 100644 --- a/flake.nix +++ b/flake.nix @@ -104,12 +104,15 @@ home-manager.nixosModules.home-manager { + nix.gc.automatic = true; nix.settings.experimental-features = [ "nix-command" "flakes" ]; - networking.hostName = hostName; + boot.tmp.cleanOnBoot = true; + + networking.hostName = hostName; nixpkgs.hostPlatform = hostPlatform; home-manager.useGlobalPkgs = true;