Skip to content

Commit

Permalink
flake: update to latest digga api
Browse files Browse the repository at this point in the history
allows overlays to also be used with `imports` and renames importHosts
  • Loading branch information
Pacman99 committed May 14, 2021
1 parent 25388a0 commit 2f474e3
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 11 deletions.
6 changes: 3 additions & 3 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 7 additions & 8 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 = { };
};
Expand Down Expand Up @@ -65,7 +64,7 @@
];
};

imports = [ (digga.lib.importers.importHosts ./hosts) ];
imports = [ (digga.lib.importers.hosts ./hosts) ];
hosts = {
/* set host specific properties here */
NixOS = { };
Expand Down

0 comments on commit 2f474e3

Please sign in to comment.