mirror of
https://github.com/divnix/digga.git
synced 2024-11-27 17:36:06 +03:00
core: add some flakes to system registry
This commit is contained in:
parent
e37634fb80
commit
fff06c44f7
@ -14,6 +14,13 @@ let
|
||||
|
||||
specialArgs = {
|
||||
inherit unstablePkgs;
|
||||
|
||||
flakes = {
|
||||
nixpkgs = nixpkgs;
|
||||
master = inputs.unstable;
|
||||
nixflk = self;
|
||||
};
|
||||
|
||||
usr = { inherit utils; };
|
||||
};
|
||||
|
||||
|
@ -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 = {
|
||||
|
Loading…
Reference in New Issue
Block a user