system/nix: split into stable and unstable
This commit is contained in:
parent
52dac2c01d
commit
1da1b2c9dd
5 changed files with 37 additions and 14 deletions
|
|
@ -1,17 +1,20 @@
|
|||
{ config, lib, pkgs, ... }: {
|
||||
nix = rec {
|
||||
nix = {
|
||||
package = pkgs.nixUnstable;
|
||||
binaryCaches = [
|
||||
"https://cache.nixos.org?priority=10"
|
||||
"https://lava.cachix.org"
|
||||
"https://nix-gaming.cachix.org"
|
||||
];
|
||||
binaryCachePublicKeys = [
|
||||
"cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY="
|
||||
"lava.cachix.org-1:8lTWI/3IKWHByzzYHZySunMPYs2eAJw2duL+uLZkSy0="
|
||||
"nix-gaming.cachix.org-1:nbjlureqMbRAxR1gJ/f3hxemL9svXaZF/Ees8vCUUs4="
|
||||
];
|
||||
trustedBinaryCaches = binaryCaches;
|
||||
|
||||
settings = rec {
|
||||
substituters = [
|
||||
"https://cache.nixos.org?priority=10"
|
||||
"https://lava.cachix.org"
|
||||
"https://nix-gaming.cachix.org"
|
||||
];
|
||||
trusted-public-keys = [
|
||||
"cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY="
|
||||
"lava.cachix.org-1:8lTWI/3IKWHByzzYHZySunMPYs2eAJw2duL+uLZkSy0="
|
||||
"nix-gaming.cachix.org-1:nbjlureqMbRAxR1gJ/f3hxemL9svXaZF/Ees8vCUUs4="
|
||||
];
|
||||
trusted-substituters = substituters;
|
||||
};
|
||||
|
||||
extraOptions = ''
|
||||
experimental-features = nix-command flakes
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue