mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-06-16 10:05:13 -05:00
refactor: complete overhaul
This commit is contained in:
parent
d99b004b5c
commit
2a2b90020b
2 changed files with 3 additions and 4 deletions
|
@ -1,14 +1,12 @@
|
|||
{instancesFunctions}: let
|
||||
inherit (instancesFunctions) sopsPath;
|
||||
inherit (instancesFunctions) dummy;
|
||||
|
||||
nginxLabel = "Ngnix";
|
||||
nginxName = "nginx";
|
||||
in {
|
||||
name = nginxName;
|
||||
label = nginxLabel;
|
||||
sops = {
|
||||
path0 = "${sopsPath}/${nginxName}";
|
||||
};
|
||||
email = dummy;
|
||||
ports = {
|
||||
port0 = 8080; # HTTP
|
||||
port1 = 8443; # HTTPS
|
||||
|
|
|
@ -11,6 +11,7 @@ let
|
|||
sopsPath = "/var/lib/secrets";
|
||||
sslPath = "/var/lib/acme";
|
||||
varLib = "/var/lib";
|
||||
dummy = [];
|
||||
};
|
||||
|
||||
instances = builtins.listToAttrs (map (name: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue