Variablize username more
This commit is contained in:
parent
33236aedc6
commit
ea3a6db5af
39 changed files with 93 additions and 102 deletions
|
@ -2,6 +2,6 @@
|
|||
{
|
||||
security.acme = {
|
||||
acceptTerms = true;
|
||||
defaults.email = "jimbo@${config.domains.p2}";
|
||||
defaults.email = "contact@${config.domains.p2}";
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,9 +1,7 @@
|
|||
{ ... }:
|
||||
{
|
||||
imports = [
|
||||
#./nextcloud
|
||||
./nfs
|
||||
./samba
|
||||
./seafile
|
||||
];
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
'';
|
||||
};
|
||||
};
|
||||
}
|
|
@ -10,7 +10,7 @@
|
|||
listen.port = 265;
|
||||
hostname = "radio.${config.domains.p2}";
|
||||
admin = {
|
||||
user = "jimbo";
|
||||
user = "${config.sysusers.main}";
|
||||
password = "${config.secrets.castAdminPass}";
|
||||
};
|
||||
extraConf = ''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue