flake: update to latest digga api
allows overlays to also be used with `imports` and renames importHosts
This commit is contained in:
parent
25388a0b55
commit
2f474e37f7
|
@ -93,11 +93,11 @@
|
|||
"utils": "utils_2"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1621012625,
|
||||
"narHash": "sha256-xRBbDpQDUz3mSwL2WoePz6c3zIUtZ2ML3qW0B9CVspU=",
|
||||
"lastModified": 1621027569,
|
||||
"narHash": "sha256-ugwMMfZagrWnt6yw+k1YGbydoMQ0OTYJ3WJ1kncsKCg=",
|
||||
"owner": "divnix",
|
||||
"repo": "digga",
|
||||
"rev": "b0de71f4924e513e21d21a0ec60a2cb180f2187c",
|
||||
"rev": "c162f5f46206346f431f3905642a8a9f17d42217",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
15
flake.nix
15
flake.nix
|
@ -31,13 +31,12 @@
|
|||
|
||||
channels = {
|
||||
nixos = {
|
||||
overlays =
|
||||
(digga.lib.importers.pathsIn ./overlays) ++
|
||||
[
|
||||
./pkgs/default.nix
|
||||
pkgs.overlay # for `srcs`
|
||||
nur.overlay
|
||||
];
|
||||
imports = [ (digga.lib.importers.overlays ./overlays) ];
|
||||
overlays = [
|
||||
./pkgs/default.nix
|
||||
pkgs.overlay # for `srcs`
|
||||
nur.overlay
|
||||
];
|
||||
};
|
||||
latest = { };
|
||||
};
|
||||
|
@ -65,7 +64,7 @@
|
|||
];
|
||||
};
|
||||
|
||||
imports = [ (digga.lib.importers.importHosts ./hosts) ];
|
||||
imports = [ (digga.lib.importers.hosts ./hosts) ];
|
||||
hosts = {
|
||||
/* set host specific properties here */
|
||||
NixOS = { };
|
||||
|
|
Loading…
Reference in a new issue