forked from pub-solar/os
core: add some flakes to system registry
This commit is contained in:
parent
e37634fb80
commit
fff06c44f7
|
@ -14,6 +14,13 @@ let
|
||||||
|
|
||||||
specialArgs = {
|
specialArgs = {
|
||||||
inherit unstablePkgs;
|
inherit unstablePkgs;
|
||||||
|
|
||||||
|
flakes = {
|
||||||
|
nixpkgs = nixpkgs;
|
||||||
|
master = inputs.unstable;
|
||||||
|
nixflk = self;
|
||||||
|
};
|
||||||
|
|
||||||
usr = { inherit utils; };
|
usr = { inherit utils; };
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ config, lib, pkgs, unstablePkgs, ... }:
|
{ config, lib, pkgs, unstablePkgs, flakes, ... }:
|
||||||
let inherit (lib) fileContents;
|
let inherit (lib) fileContents;
|
||||||
|
|
||||||
in {
|
in {
|
||||||
|
@ -6,6 +6,12 @@ in {
|
||||||
|
|
||||||
nix.systemFeatures = [ "nixos-test" "benchmark" "big-parallel" "kvm" ];
|
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 ];
|
imports = [ ../local/locale.nix ];
|
||||||
|
|
||||||
environment = {
|
environment = {
|
||||||
|
|
Loading…
Reference in a new issue