1
1
mirror of https://github.com/divnix/digga.git synced 2024-12-23 08:02:21 +03:00

devos: move common overlays to sharedOverlays for fup passthrough

This commit is contained in:
Chris Montgomery 2022-04-22 20:23:07 -04:00
parent 8232e94cb4
commit 89d9b3ea97
No known key found for this signature in database
GPG Key ID: A6BA9BA2FDA7C997

View File

@ -72,30 +72,17 @@
channelsConfig = { allowUnfree = true; }; channelsConfig = { allowUnfree = true; };
channels = channels = {
let nixos = {
# TODO: any reason to avoid applying these to `latest` via `sharedOverlays`? imports = [ (digga.lib.importOverlays ./overlays) ];
commonOverlays = [ overlays = [ ];
nur.overlay
agenix.overlay
nvfetcher.overlay
./pkgs/default.nix
];
in
{
nixos = {
imports = [ (digga.lib.importOverlays ./overlays) ];
overlays = commonOverlays ++ [ ];
};
nixpkgs-darwin = {
imports = [ (digga.lib.importOverlays ./overlays) ];
overlays = commonOverlays ++ [
# TODO: create if necessary -- or perhaps a placeholder for both host types
# ./pkgs/darwin
];
};
latest = { };
}; };
nixpkgs-darwin = {
imports = [ (digga.lib.importOverlays ./overlays) ];
overlays = [ ];
};
latest = { };
};
lib = import ./lib { lib = digga.lib // nixos.lib; }; lib = import ./lib { lib = digga.lib // nixos.lib; };
@ -106,6 +93,12 @@
our = self.lib; our = self.lib;
}); });
}) })
nur.overlay
agenix.overlay
nvfetcher.overlay
(import ./pkgs)
]; ];
nixos = { nixos = {