refactor2
This commit is contained in:
parent
701c9d71f0
commit
7fa104b722
30 changed files with 240 additions and 111 deletions
19
system/core/nix.nix
Normal file
19
system/core/nix.nix
Normal 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"
|
||||
# ]);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue