feat : Refractor my host specific to be more generic
This commit is contained in:
parent
0d29fd5686
commit
23a6282e6d
10 changed files with 196 additions and 163 deletions
14
host/default.nix
Normal file
14
host/default.nix
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
{ config, lib, hostName, ... }:
|
||||
let
|
||||
hostConfigs = {
|
||||
ThinkCentre-Server-004 = {
|
||||
module.vaultwarden.enable = true;
|
||||
module.roundcube.enable = true;
|
||||
module.searxng.enable = true;
|
||||
module.acme.enable = true;
|
||||
module.newt.enable = true;
|
||||
};
|
||||
};
|
||||
in {
|
||||
config = hostConfigs.${hostName};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue