refactor2

This commit is contained in:
Lilith 2025-03-12 15:43:41 +01:00
parent 701c9d71f0
commit 7fa104b722
Signed by: lilith
GPG key ID: 8712A0F317C37175
30 changed files with 240 additions and 111 deletions

19
system/core/nix.nix Normal file
View file

@ -0,0 +1,19 @@
{ lib, ...}: {
nix = {
gc = {
automatic = true;
dates = "05:30";
options = "--delete-older-than 7d";
};
settings = {
keep-outputs = true;
auto-optimise-store = true;
experimental-features = ["nix-command" "flakes"];
trusted-users = ["root" "@wheel"];
};
};
# nixpkgs.config.allowUnfreePredicate = (pkg: builtins.elem (lib.getName pkg) [
# "steam"
# ]);
}