summaryrefslogtreecommitdiff
path: root/os/kay/modules
diff options
context:
space:
mode:
Diffstat (limited to 'os/kay/modules')
-rw-r--r--os/kay/modules/acme.nix4
-rw-r--r--os/kay/modules/cgit.nix4
-rw-r--r--os/kay/modules/dendrite.nix2
-rw-r--r--os/kay/modules/mail.nix4
-rw-r--r--os/kay/modules/matrix-sliding-sync.nix2
-rw-r--r--os/kay/modules/sftp.nix2
-rw-r--r--os/kay/modules/www.nix2
7 files changed, 10 insertions, 10 deletions
diff --git a/os/kay/modules/acme.nix b/os/kay/modules/acme.nix
index f4ded0a..00819e7 100644
--- a/os/kay/modules/acme.nix
+++ b/os/kay/modules/acme.nix
@@ -1,6 +1,6 @@
{ config, pkgs, ... }: let
- email = config.userdata.email;
- domain = config.userdata.domain;
+ email = config.global.userdata.email;
+ domain = config.global.userdata.domain;
environmentFile =
pkgs.writeText "acme-dns" "RFC2136_NAMESERVER='[2001:470:ee65::1]:53'";
diff --git a/os/kay/modules/cgit.nix b/os/kay/modules/cgit.nix
index f8fb25c..0b0a6ec 100644
--- a/os/kay/modules/cgit.nix
+++ b/os/kay/modules/cgit.nix
@@ -1,8 +1,8 @@
{ config, pkgs, ... }:
let
- domain = config.userdata.domain;
- user = config.userdata.name;
+ domain = config.global.userdata.domain;
+ user = config.global.userdata.name;
in
{
environment.systemPackages = with pkgs; [
diff --git a/os/kay/modules/dendrite.nix b/os/kay/modules/dendrite.nix
index 8277e21..71266a5 100644
--- a/os/kay/modules/dendrite.nix
+++ b/os/kay/modules/dendrite.nix
@@ -1,7 +1,7 @@
{ config, lib, pkgs, ... }:
let
- domain = config.userdata.domain;
+ domain = config.global.userdata.domain;
database = {
connection_string = "postgres:///dendrite?host=/run/postgresql";
max_open_conns = 90;
diff --git a/os/kay/modules/mail.nix b/os/kay/modules/mail.nix
index 79e4019..ee91f78 100644
--- a/os/kay/modules/mail.nix
+++ b/os/kay/modules/mail.nix
@@ -1,8 +1,8 @@
{ config, ... }: let
ipv6 = "2001:470:ee65::1337";
- domain = config.userdata.domain;
+ domain = config.global.userdata.domain;
- username = config.userdata.name;
+ username = config.global.userdata.name;
secret = "$argon2i$v=19$m=4096,t=3,p=1$SWV5aWU3YWUgZWFTNm9oc28gTGFvdDdlRG8ga2FTaWVjaDYgYWV0aDFHb28$O/sDv7oy9wUxFjvKoxB5o8ZnPvjYJo9DjX0C/AZQFF0";
email = [
"${username}@${domain}"
diff --git a/os/kay/modules/matrix-sliding-sync.nix b/os/kay/modules/matrix-sliding-sync.nix
index ebdc34d..03ab9fc 100644
--- a/os/kay/modules/matrix-sliding-sync.nix
+++ b/os/kay/modules/matrix-sliding-sync.nix
@@ -1,7 +1,7 @@
{ config, ... }:
let
- domain = config.userdata.domain;
+ domain = config.global.userdata.domain;
in
{
sops.secrets."matrix-${domain}/sliding_sync" = {};
diff --git a/os/kay/modules/sftp.nix b/os/kay/modules/sftp.nix
index bbe055e..f3c3538 100644
--- a/os/kay/modules/sftp.nix
+++ b/os/kay/modules/sftp.nix
@@ -2,7 +2,7 @@
let
storage = "/hdd/users";
- user = config.userdata.name;
+ user = config.global.userdata.name;
pubKeys = config.users.users.${user}.openssh.authorizedKeys.keys;
in
{
diff --git a/os/kay/modules/www.nix b/os/kay/modules/www.nix
index 3891bf6..54eab65 100644
--- a/os/kay/modules/www.nix
+++ b/os/kay/modules/www.nix
@@ -1,7 +1,7 @@
{ config, pkgs, lib, ... }:
let
- domain = config.userdata.domain;
+ domain = config.global.userdata.domain;
fscusat = "fscusat.org";
mark = "themark.ing";
storage = "/hdd/users/sftp/shr";