refactor(nixpkgs): move nix settings into module
This commit is contained in:
@@ -116,21 +116,6 @@
|
||||
};
|
||||
};
|
||||
|
||||
nix = {
|
||||
settings = {
|
||||
trusted-users = [
|
||||
"@wheel"
|
||||
];
|
||||
substituters = [
|
||||
"https://nix-community.cachix.org"
|
||||
"https://cache.nixos.org"
|
||||
];
|
||||
trusted-public-keys = [
|
||||
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
# This option defines the first version of NixOS you have installed on this
|
||||
# particular machine, and is used to maintain compatibility with application
|
||||
# data (e.g. databases) created on older NixOS versions.
|
||||
|
||||
@@ -107,26 +107,6 @@
|
||||
settings.X11Forwarding = true;
|
||||
};
|
||||
|
||||
nix = {
|
||||
settings = {
|
||||
allow-import-from-derivation = true;
|
||||
trusted-users = [
|
||||
"@wheel"
|
||||
];
|
||||
substituters = [
|
||||
"https://cache.deertopia.net"
|
||||
"https://nix-community.cachix.org"
|
||||
"https://cache.nixos.org"
|
||||
"https://cache.iog.io"
|
||||
];
|
||||
trusted-public-keys = [
|
||||
(builtins.readFile ../../public-keys/deertopia-cache.pub.pem)
|
||||
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
|
||||
"hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ="
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
security.pki.certificateFiles = [
|
||||
../../public-keys/lolc.at.crt
|
||||
];
|
||||
|
||||
@@ -127,26 +127,6 @@
|
||||
settings.X11Forwarding = true;
|
||||
};
|
||||
|
||||
nix = {
|
||||
settings = {
|
||||
allow-import-from-derivation = true;
|
||||
trusted-users = [
|
||||
"@wheel"
|
||||
];
|
||||
substituters = [
|
||||
"https://cache.deertopia.net"
|
||||
"https://nix-community.cachix.org"
|
||||
"https://cache.nixos.org"
|
||||
"https://cache.iog.io"
|
||||
];
|
||||
trusted-public-keys = [
|
||||
(builtins.readFile ../../public-keys/deertopia-cache.pub.pem)
|
||||
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
|
||||
"hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ="
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
security.pki.certificateFiles = [
|
||||
../../public-keys/lolc.at.crt
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user