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
network = import ./network.nix;
@ -160,10 +160,15 @@ in {
};
};
nix.package = pkgs.nixUnstable;
nix.extraOptions = ''
nix = {
package = pkgs.nixUnstable;
extraOptions = ''
experimental-features = nix-command flakes ca-references
'';
registry = {
nixpkgs.flake = inputs.nixpkgs;
};
};
boot = {
loader = {