started modifing configuration structure
This commit is contained in:
33
system/nix/default.nix
Normal file
33
system/nix/default.nix
Normal file
@@ -0,0 +1,33 @@
|
||||
{ ... }: {
|
||||
nix = {
|
||||
gc.automatic = false;
|
||||
|
||||
settings = {
|
||||
auto-optimise-store = true;
|
||||
builders-use-substitutes = true;
|
||||
allowed-users = ["@wheel"];
|
||||
trusted-users = ["@wheel"];
|
||||
commit-lockfile-summary = "Update flake.lock";
|
||||
accept-flake-config = true;
|
||||
keep-derivations = true;
|
||||
keep-outputs = true;
|
||||
warn-dirty = false;
|
||||
sandbox = true;
|
||||
max-jobs = "auto";
|
||||
log-lines = 30;
|
||||
experimental-features = [ "nix-command" "flakes" ];
|
||||
substituters = [
|
||||
"https://cache.nixos.org"
|
||||
];
|
||||
trusted-public-keys = [
|
||||
"cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY="
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
nixpkgs = {
|
||||
config = {
|
||||
allowUnfree = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user