lib: Pin nixpkgs to the current flake

This commit is contained in:
PapaTutuWawa 2021-11-20 14:14:00 +01:00
parent c12f2feb24
commit 7493f5ccb9

View File

@ -1,4 +1,4 @@
{ config, pkgs, lib, ... }: { config, pkgs, lib, inputs, ... }:
let let
network = import ./network.nix; network = import ./network.nix;
@ -160,10 +160,15 @@ in {
}; };
}; };
nix.package = pkgs.nixUnstable; nix = {
nix.extraOptions = '' package = pkgs.nixUnstable;
extraOptions = ''
experimental-features = nix-command flakes ca-references experimental-features = nix-command flakes ca-references
''; '';
registry = {
nixpkgs.flake = inputs.nixpkgs;
};
};
boot = { boot = {
loader = { loader = {