split nix options into a module
This commit is contained in:
parent
ab6049f578
commit
a5495be32b
2 changed files with 20 additions and 17 deletions
|
|
@ -21,29 +21,13 @@
|
|||
kernel
|
||||
kernel-winter
|
||||
networking
|
||||
nix
|
||||
packages
|
||||
security
|
||||
snapper
|
||||
|
||||
../users/rin.nix
|
||||
];
|
||||
nix = rec {
|
||||
package = pkgs.nixUnstable;
|
||||
binaryCaches = [
|
||||
"https://cache.nixos.org?priority=10"
|
||||
"https://lava.cachix.org"
|
||||
];
|
||||
binaryCachePublicKeys = [
|
||||
"cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY="
|
||||
"lava.cachix.org-1:8lTWI/3IKWHByzzYHZySunMPYs2eAJw2duL+uLZkSy0="
|
||||
];
|
||||
trustedBinaryCaches = binaryCaches;
|
||||
|
||||
extraOptions = ''
|
||||
experimental-features = nix-command flakes
|
||||
'';
|
||||
};
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
||||
i18n.defaultLocale = "en_GB.UTF-8";
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue