flake: update to latest digga api

allows overlays to also be used with `imports` and renames importHosts
This commit is contained in:
Pacman99 2021-05-14 16:49:12 -07:00
parent 25388a0b55
commit 2f474e37f7
2 changed files with 10 additions and 11 deletions

View file

@ -93,11 +93,11 @@
"utils": "utils_2" "utils": "utils_2"
}, },
"locked": { "locked": {
"lastModified": 1621012625, "lastModified": 1621027569,
"narHash": "sha256-xRBbDpQDUz3mSwL2WoePz6c3zIUtZ2ML3qW0B9CVspU=", "narHash": "sha256-ugwMMfZagrWnt6yw+k1YGbydoMQ0OTYJ3WJ1kncsKCg=",
"owner": "divnix", "owner": "divnix",
"repo": "digga", "repo": "digga",
"rev": "b0de71f4924e513e21d21a0ec60a2cb180f2187c", "rev": "c162f5f46206346f431f3905642a8a9f17d42217",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -31,13 +31,12 @@
channels = { channels = {
nixos = { nixos = {
overlays = imports = [ (digga.lib.importers.overlays ./overlays) ];
(digga.lib.importers.pathsIn ./overlays) ++ overlays = [
[ ./pkgs/default.nix
./pkgs/default.nix pkgs.overlay # for `srcs`
pkgs.overlay # for `srcs` nur.overlay
nur.overlay ];
];
}; };
latest = { }; latest = { };
}; };
@ -65,7 +64,7 @@
]; ];
}; };
imports = [ (digga.lib.importers.importHosts ./hosts) ]; imports = [ (digga.lib.importers.hosts ./hosts) ];
hosts = { hosts = {
/* set host specific properties here */ /* set host specific properties here */
NixOS = { }; NixOS = { };