Merge pull request #45 from nrdxp/external-modules
flake: add `externModules` list
This commit is contained in:
commit
db653d6a8f
2 changed files with 4 additions and 4 deletions
|
@ -23,6 +23,7 @@
|
|||
system = "x86_64-linux";
|
||||
|
||||
externOverlays = [ nur.overlay ];
|
||||
externModules = [ home.nixosModules.home-manager ];
|
||||
|
||||
pkgset =
|
||||
let overlays = (attrValues self.overlays) ++ externOverlays; in
|
||||
|
@ -33,7 +34,7 @@
|
|||
outputs = {
|
||||
nixosConfigurations =
|
||||
import ./hosts (recursiveUpdate inputs {
|
||||
inherit lib pkgset system utils;
|
||||
inherit lib pkgset system utils externModules;
|
||||
});
|
||||
|
||||
overlay = import ./pkgs;
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
, self
|
||||
, system
|
||||
, utils
|
||||
, externModules
|
||||
, ...
|
||||
}:
|
||||
let
|
||||
|
@ -19,8 +20,6 @@ let
|
|||
|
||||
modules =
|
||||
let
|
||||
inherit (home.nixosModules) home-manager;
|
||||
|
||||
core = self.nixosModules.profiles.core;
|
||||
|
||||
global = {
|
||||
|
@ -68,7 +67,7 @@ let
|
|||
attrValues (removeAttrs self.nixosModules [ "profiles" ]);
|
||||
|
||||
in
|
||||
flakeModules ++ [ core global local home-manager overrides ];
|
||||
flakeModules ++ [ core global local overrides ] ++ externModules;
|
||||
|
||||
extraArgs = {
|
||||
inherit system;
|
||||
|
|
Loading…
Reference in a new issue