initial config

This commit is contained in:
matiss
2026-04-20 15:08:47 +00:00
commit 8f4daf76b8
27 changed files with 1458 additions and 0 deletions

23
modules/system/nix.nix Normal file
View File

@@ -0,0 +1,23 @@
# ==========================================
# NIX CONFIGURATION
# ==========================================
{ config, pkgs, ... }:
{
nix.settings = {
experimental-features = [ "nix-command" "flakes" ];
auto-optimise-store = true;
max-jobs = "auto";
cores = 0;
};
nix.gc = {
automatic = true;
dates = "weekly";
options = "--delete-older-than 7d";
};
nixpkgs.config.allowUnfree = true;
system.stateVersion = "25.11";
}