Initial, broken

This commit is contained in:
2021-09-29 17:55:13 -07:00
parent b072fed747
commit 3dc5986134
38 changed files with 302 additions and 95 deletions
+5 -3
View File
@@ -1,4 +1,4 @@
{ hostname, home-manager-module, pkgs, include-secrets ? true, ... }:
{ hostname, pkgs, build-timestamp, fudo-secrets ? null, ... }:
let
# Get info on this host so we know what to load
@@ -9,7 +9,7 @@ in {
./lib
./config
home-manager-module
#home-manager-module
(./. + "/config/hardware/${hostname}.nix")
(./. + "/config/host-config/${hostname}.nix")
@@ -19,10 +19,12 @@ in {
];
config = {
fudo.local-network.timestamp = build-timestamp;
instance = { hostname = hostname; };
nixpkgs.pkgs = pkgs;
fudo.secrets.enable = include-secrets;
fudo.secrets.enable = fudo-secrets != null;
};
}