Add fudo-pkgs submodule
This commit is contained in:
+7
-7
@@ -1,18 +1,16 @@
|
||||
{ hostname, home-manager-package, pkgs, fudo-pkgs, include-secrets ? true, ... }:
|
||||
{ hostname, home-manager-module, pkgs, include-secrets ? true, ... }:
|
||||
|
||||
let
|
||||
# Get info on this host so we know what to load
|
||||
host-config = import (./. + "/config/hosts/${hostname}.nix");
|
||||
|
||||
in {
|
||||
in {
|
||||
imports = [
|
||||
./lib
|
||||
./config
|
||||
|
||||
# Without turning this into a path, there's a "lastModified missing" error
|
||||
"${fudo-pkgs}/"
|
||||
|
||||
"${home-manager-package}/nixos"
|
||||
] ++ [
|
||||
home-manager-module
|
||||
|
||||
(./. + "/config/hardware/${hostname}.nix")
|
||||
(./. + "/config/host-config/${hostname}.nix")
|
||||
(./. + "/config/profile-config/${host-config.profile}.nix")
|
||||
@@ -23,6 +21,8 @@ in {
|
||||
config = {
|
||||
instance = { hostname = hostname; };
|
||||
|
||||
nixpkgs.pkgs = pkgs;
|
||||
|
||||
fudo.secrets.enable = include-secrets;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user