Initial commit

This commit is contained in:
JuliusFreudenberger 2025-01-14 01:29:24 +01:00
commit b0a95003b7
57 changed files with 1561 additions and 0 deletions

22
modules/nix.nix Normal file
View file

@ -0,0 +1,22 @@
{
pkgs,
lib,
...
}: {
# do garbage collection weekly to keep disk usage low
nix = {
settings = {
experimental-features = ["nix-command" "flakes"];
};
gc = {
automatic = lib.mkDefault true;
dates = lib.mkDefault "weekly";
options = lib.mkDefault "--delete-older-than 7d";
};
};
# Allow unfree packages
nixpkgs.config.allowUnfree = true;
}