Initial commit

This commit is contained in:
Ghostfox
2026-03-30 00:20:36 +02:00
commit 63b75b2e8f
56 changed files with 2581 additions and 0 deletions

46
modules/base/nix.nix Normal file
View File

@@ -0,0 +1,46 @@
{
# Environment variables
environment.variables = {
NIXPKGS_ALLOW_UNFREE = "1";
};
# Nixpkgs configuration
nixpkgs.config = {
allowUnfree = true;
};
programs.nh = {
enable = true;
flake = "/home/dark/gooberos";
clean = {
enable = true;
dates = "16:00";
extraArgs = "--keep 3";
};
};
nix = {
# Misc
channel.enable = false;
settings.experimental-features = [ "nix-command" "flakes" ];
# Building
daemonCPUSchedPolicy = "batch";
extraOptions = ''
keep-going = true
'';
settings.auto-optimise-store = true;
# GC
#gc = {
# automatic = true;
# default = "16:00";
#};
# Optimiser
optimise = {
automatic = true;
dates = "17:00";
};
};
}