core: add some flakes to system registry

This commit is contained in:
Timothy DeHerrera 2020-07-23 17:03:42 -06:00
parent e37634fb80
commit fff06c44f7
No known key found for this signature in database
GPG Key ID: 8985725DB5B0C122
2 changed files with 14 additions and 1 deletions

View File

@ -14,6 +14,13 @@ let
specialArgs = {
inherit unstablePkgs;
flakes = {
nixpkgs = nixpkgs;
master = inputs.unstable;
nixflk = self;
};
usr = { inherit utils; };
};

View File

@ -1,4 +1,4 @@
{ config, lib, pkgs, unstablePkgs, ... }:
{ config, lib, pkgs, unstablePkgs, flakes, ... }:
let inherit (lib) fileContents;
in {
@ -6,6 +6,12 @@ in {
nix.systemFeatures = [ "nixos-test" "benchmark" "big-parallel" "kvm" ];
nix.registry = with flakes; {
nixpkgs.flake = nixpkgs;
nixflk.flake = nixflk;
master.flake = master;
};
imports = [ ../local/locale.nix ];
environment = {