Add xdg settings, cache, cleanup script

Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
2024-06-21 23:39:18 +03:00
parent ce37f320c2
commit 48f391e3ad
22 changed files with 245 additions and 51 deletions

View File

@@ -12,6 +12,7 @@
./configs/nix-ld
./configs/git
./configs/gpg-agent
./scripts/cleanup
];
boot = {
@@ -63,8 +64,13 @@
};
nix = {
settings.experimental-features = [ "nix-command" "flakes" ];
settings = {
use-xdg-base-directories = true;
experimental-features = [ "nix-command" "flakes" ];
};
gc.automatic = true;
optimise.automatic = true;
};
nixpkgs.config.allowUnfree = true;