refactor: ran deadnix

This commit is contained in:
Rouven Seifert 2023-09-17 20:14:32 +02:00
parent 62825e357f
commit 02cd8440f1
Signed by: rouven.seifert
GPG key ID: B95E8FE6B11C4D09
13 changed files with 13 additions and 13 deletions

View file

@ -1,4 +1,4 @@
{ config, pkgs, ... }: { pkgs, ... }:
{ {
imports = imports =

View file

@ -1,7 +1,7 @@
# Do not modify this file! It was generated by nixos-generate-config # Do not modify this file! It was generated by nixos-generate-config
# and may be overwritten by future invocations. Please make changes # and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead. # to /etc/nixos/configuration.nix instead.
{ config, lib, pkgs, modulesPath, ... }: { config, lib, modulesPath, ... }:
{ {
imports = imports =

View file

@ -1,4 +1,4 @@
{ pkgs, config, lib, ... }: { config, ... }:
let let
wireguard_port = 51820; wireguard_port = 51820;
in in

View file

@ -1,4 +1,4 @@
{ config, lib, pkgs, ... }: { config, lib, ... }:
let let
hostName = "kurse.${config.networking.domain}"; hostName = "kurse.${config.networking.domain}";
in in

View file

@ -55,7 +55,7 @@ in
services.portunus = { services.portunus = {
enable = true; enable = true;
package = pkgs.portunus.overrideAttrs (old: { package = pkgs.portunus.overrideAttrs (_old: {
patches = [ patches = [
./0001-update-user-validation-regex.patch ./0001-update-user-validation-regex.patch
./0002-both-ldap-and-ldaps.patch ./0002-both-ldap-and-ldaps.patch

View file

@ -1,4 +1,4 @@
{ config, pkgs, lib, ... }: { config, pkgs, ... }:
let let
hostname = "mail.${config.networking.domain}"; hostname = "mail.${config.networking.domain}";
domain = config.networking.domain; domain = config.networking.domain;

View file

@ -1,4 +1,4 @@
{ config, pkgs, lib, ... }: { config, pkgs, ... }:
let let
domainServer = "matrix.staging.${config.networking.domain}"; domainServer = "matrix.staging.${config.networking.domain}";
domainClient = "chat.staging.${config.networking.domain}"; domainClient = "chat.staging.${config.networking.domain}";

View file

@ -1,4 +1,4 @@
{ config, options, lib, pkgs, ... }: { config, lib, pkgs, ... }:
let let
homeserverDomain = config.services.matrix-synapse.settings.server_name; homeserverDomain = config.services.matrix-synapse.settings.server_name;
registrationFileSynapse = "/var/lib/matrix-synapse/telegram-registration.yaml"; registrationFileSynapse = "/var/lib/matrix-synapse/telegram-registration.yaml";

View file

@ -1,4 +1,4 @@
{ config, pkgs, lib, ... }: { config, lib, ... }:
let let
sogo-hostname = "mail.${config.networking.domain}"; sogo-hostname = "mail.${config.networking.domain}";
in in

View file

@ -1,4 +1,4 @@
{ config, lib, pkgs, ... }: { ... }:
{ {
sops.age.sshKeyPaths = [ "/etc/ssh/ssh_host_ed25519_key" ]; sops.age.sshKeyPaths = [ "/etc/ssh/ssh_host_ed25519_key" ];
sops.age.generateKey = false; sops.age.generateKey = false;

View file

@ -1,4 +1,4 @@
{ pkgs, config, ... }: { config, ... }:
{ {
services = { services = {
nginx = { nginx = {

View file

@ -1,4 +1,4 @@
{ config, lib, pkgs, ... }: { config, ... }:
let let
domain = "users.${config.networking.domain}"; domain = "users.${config.networking.domain}";
port = 8083; port = 8083;

View file

@ -1,4 +1,4 @@
{ config, pkgs, lib, ... }: { config, pkgs, ... }:
let let
domain = "wiki.${config.networking.domain}"; domain = "wiki.${config.networking.domain}";
listenPort = 8080; listenPort = 8080;