add sane nix options
This commit is contained in:
parent
544ab072a0
commit
c82535e635
1 changed files with 26 additions and 0 deletions
26
config.nix
26
config.nix
|
@ -86,6 +86,32 @@
|
|||
};
|
||||
};
|
||||
|
||||
nix = {
|
||||
settings = {
|
||||
substituters = lib.mkForce [
|
||||
"https://cache.nixos.org"
|
||||
"https://nix-community.cachix.org"
|
||||
];
|
||||
trusted-public-keys = lib.mkForce [
|
||||
"cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY="
|
||||
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
|
||||
];
|
||||
sandbox = true;
|
||||
require-sigs = true;
|
||||
max-jobs = "auto";
|
||||
allowed-users = [ "*" ];
|
||||
trusted-users = [
|
||||
"root"
|
||||
];
|
||||
experimental-features = [
|
||||
"nix-command"
|
||||
"flakes"
|
||||
];
|
||||
use-xdg-base-directories = true;
|
||||
};
|
||||
package = pkgs.lix;
|
||||
};
|
||||
|
||||
disko.devices = {
|
||||
disk = {
|
||||
main = {
|
||||
|
|
Loading…
Reference in a new issue