summaryrefslogtreecommitdiff
path: root/os
diff options
context:
space:
mode:
Diffstat (limited to 'os')
-rw-r--r--os/cez/configuration.nix2
-rw-r--r--os/cez/modules/getty.nix2
-rw-r--r--os/cez/modules/sshfs.nix4
-rw-r--r--os/cez/modules/wayland.nix2
-rw-r--r--os/cez/modules/wireguard.nix2
-rw-r--r--os/common/configuration.nix4
-rw-r--r--os/common/modules/dev.nix2
-rw-r--r--os/dspace/configuration.nix2
-rw-r--r--os/fscusat/modules/mirror/debian/default.nix4
-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
16 files changed, 22 insertions, 22 deletions
diff --git a/os/cez/configuration.nix b/os/cez/configuration.nix
index 00e755a..c7f865d 100644
--- a/os/cez/configuration.nix
+++ b/os/cez/configuration.nix
@@ -1,7 +1,7 @@
{ config, pkgs, ... }:
let
- user = config.userdata.name;
+ user = config.global.userdata.name;
in
{
imports = [
diff --git a/os/cez/modules/getty.nix b/os/cez/modules/getty.nix
index 725eb4b..8c7f57e 100644
--- a/os/cez/modules/getty.nix
+++ b/os/cez/modules/getty.nix
@@ -1,5 +1,5 @@
{ config, ... }: let
- user = config.userdata.name;
+ user = config.global.userdata.name;
in {
systemd.services."getty@".serviceConfig.TTYVTDisallocate = "no";
diff --git a/os/cez/modules/sshfs.nix b/os/cez/modules/sshfs.nix
index 2431b96..5fdbeaf 100644
--- a/os/cez/modules/sshfs.nix
+++ b/os/cez/modules/sshfs.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;
uid = config.users.users.${user}.uid;
gid = config.users.groups.users.gid;
in
diff --git a/os/cez/modules/wayland.nix b/os/cez/modules/wayland.nix
index 1ce04cf..b6499b7 100644
--- a/os/cez/modules/wayland.nix
+++ b/os/cez/modules/wayland.nix
@@ -1,5 +1,5 @@
{ config, pkgs, ... }: let
- user = config.userdata.name;
+ user = config.global.userdata.name;
in {
# pkgs
environment.systemPackages = with pkgs; [
diff --git a/os/cez/modules/wireguard.nix b/os/cez/modules/wireguard.nix
index d8e8dd0..706751c 100644
--- a/os/cez/modules/wireguard.nix
+++ b/os/cez/modules/wireguard.nix
@@ -1,7 +1,7 @@
{ config, ... }:
let
- domain = config.userdata.domain;
+ domain = config.global.userdata.domain;
in
{
sops.secrets."misc/wireguard" = {};
diff --git a/os/common/configuration.nix b/os/common/configuration.nix
index 76fe33c..a3dd494 100644
--- a/os/common/configuration.nix
+++ b/os/common/configuration.nix
@@ -2,8 +2,8 @@
let
host = config.networking.hostName;
- user = config.userdata.name;
- email = config.userdata.email;
+ user = config.global.userdata.name;
+ email = config.global.userdata.email;
in
{
disabledModules = [
diff --git a/os/common/modules/dev.nix b/os/common/modules/dev.nix
index 285dfba..eb00619 100644
--- a/os/common/modules/dev.nix
+++ b/os/common/modules/dev.nix
@@ -1,7 +1,7 @@
{ config, pkgs, ... }:
let
- user = config.userdata.name;
+ user = config.global.userdata.name;
in
{
users.users.${user}.packages = with pkgs; [
diff --git a/os/dspace/configuration.nix b/os/dspace/configuration.nix
index 0a28af6..0bcf330 100644
--- a/os/dspace/configuration.nix
+++ b/os/dspace/configuration.nix
@@ -1,7 +1,7 @@
{ config, ... }:
let
- user = config.userdata.name;
+ user = config.global.userdata.name;
in
{
imports = [
diff --git a/os/fscusat/modules/mirror/debian/default.nix b/os/fscusat/modules/mirror/debian/default.nix
index c052bdd..c0a35cd 100644
--- a/os/fscusat/modules/mirror/debian/default.nix
+++ b/os/fscusat/modules/mirror/debian/default.nix
@@ -1,6 +1,6 @@
{ config, ... }: let
- name = config.userdata.name;
- email = config.userdata.email;
+ name = config.global.userdata.name;
+ email = config.global.userdata.email;
in {
imports = [ ./ftpsync.nix ];
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";