second try, for real

This commit is contained in:
2026-05-27 00:42:53 -05:00
parent d416c21e9a
commit 75cf58db8a
3 changed files with 14 additions and 7 deletions
+1 -7
View File
@@ -20,11 +20,6 @@
options.services.nimh-static = {
enable = lib.mkEnableOption "serve nimh via k3s pod.";
rootDir = lib.mkOption {
type = lib.types.path;
description = "Root of the static site";
};
default-nginx = {
enable = lib.mkEnableOption "Enable nginx reverse proxy.";
hostname = lib.mkOption {
@@ -40,8 +35,7 @@
users.groups.nimh = { };
users.users.nimh = {
isSystemUser = true;
createHome = true;
home = "${opts.rootDir}";
createHome = false;
group = "nimh";
};
+10
View File
@@ -86,6 +86,16 @@
};
};
services.nimh-static = {
enable = true;
default-nginx = {
enable = true;
hostname = "nimh.roypository.com";
};
};
# ================================ #
# K3S SERVICE #
# ================================ #
+3
View File
@@ -28,6 +28,7 @@
# This is a path to the services I've declared.
# It just happens to be stored in the same repository (relative),
# but could well be a separate repository
nimh-static.url = "path:../homelab-services/nimh-static";
minio-service.url = "path:../homelab-services/minio-service";
mc-service.url = "path:../homelab-services/mc-service";
postgresql-db.url = "path:../homelab-services/postgresql-db";
@@ -44,6 +45,7 @@
quasiSecrets,
impermanence,
firefox-addons,
nimh-static,
minio-service,
mc-service,
postgresql-db,
@@ -77,6 +79,7 @@
quasiSecrets.nixosModules.ipAddrs
quasiSecrets.nixosModules.serviceList
impermanence.nixosModules.impermanence
nimh-static.nixosModules.nimh-static
minio-service.nixosModules.minio-service
mc-service.nixosModules.mc-service
postgresql-db.nixosModules.postgresql-db