Variablize username more

This commit is contained in:
Jimbo 2025-01-03 17:52:33 -05:00
parent 33236aedc6
commit ea3a6db5af
39 changed files with 93 additions and 102 deletions

View file

@ -52,6 +52,6 @@
"virbr1"
];
systemd.tmpfiles.rules = [ "f /dev/shm/looking-glass 0660 jimbo libvirtd -" ];
systemd.tmpfiles.rules = [ "f /dev/shm/looking-glass 0660 ${config.sysusers.main} libvirtd -" ];
};
}

View file

@ -2,6 +2,6 @@
{
security.acme = {
acceptTerms = true;
defaults.email = "jimbo@${config.domains.p2}";
defaults.email = "contact@${config.domains.p2}";
};
}

View file

@ -1,9 +1,7 @@
{ ... }:
{
imports = [
#./nextcloud
./nfs
./samba
./seafile
];
}

View file

@ -1,18 +0,0 @@
{ lib, config, ... }:
{
services.nginx.virtualHosts."cloud.${config.domains.p2}" = lib.mkIf config.services.nextcloud.enable {
enableACME = true;
addSSL = true;
locations."/" = {
proxyWebsockets = true;
extraConfig = ''
location /.well-known/carddav {
return 301 $scheme://$host/remote.php/dav;
}
location /.well-known/caldav {
return 301 $scheme://$host/remote.php/dav;
}
'';
};
};
}

View file

@ -10,7 +10,7 @@
listen.port = 265;
hostname = "radio.${config.domains.p2}";
admin = {
user = "jimbo";
user = "${config.sysusers.main}";
password = "${config.secrets.castAdminPass}";
};
extraConf = ''