mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
Added private submodule. Started using secrets.
This commit is contained in:
parent
e47deebca2
commit
b0e4c31d6e
6 changed files with 19 additions and 2 deletions
|
|
@ -1,4 +1,5 @@
|
|||
{ pkgs, hostsDir ? ../config/hosts
|
||||
{ pkgs, hostsDir ? ../config/hosts,
|
||||
privateHostsDir ? ../config/private/hosts
|
||||
, commonImports ? [ ../config/common ../modules ], pkgsPath ? ../pkgs }:
|
||||
|
||||
with pkgs.lib;
|
||||
|
|
@ -12,6 +13,7 @@ rec {
|
|||
_module.args = { inherit hosts profiles; };
|
||||
imports = [
|
||||
(import (hostsDir + "/${hostName}/configuration.nix"))
|
||||
(import (privateHostsDir + "/${hostName}/configuration.nix"))
|
||||
../modules/deploy
|
||||
] ++ commonImports;
|
||||
networking = { inherit hostName; };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue