19 lines
426 B
Nix
19 lines
426 B
Nix
{ 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"
|
|
# ]);
|
|
}
|