refactor: ran deadnix
This commit is contained in:
parent
62825e357f
commit
02cd8440f1
|
@ -1,4 +1,4 @@
|
||||||
{ config, pkgs, ... }:
|
{ pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
imports =
|
imports =
|
||||||
|
|
|
@ -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 =
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ pkgs, config, lib, ... }:
|
{ config, ... }:
|
||||||
let
|
let
|
||||||
wireguard_port = 51820;
|
wireguard_port = 51820;
|
||||||
in
|
in
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ config, lib, pkgs, ... }:
|
{ config, lib, ... }:
|
||||||
let
|
let
|
||||||
hostName = "kurse.${config.networking.domain}";
|
hostName = "kurse.${config.networking.domain}";
|
||||||
in
|
in
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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}";
|
||||||
|
|
|
@ -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";
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ pkgs, config, ... }:
|
{ config, ... }:
|
||||||
{
|
{
|
||||||
services = {
|
services = {
|
||||||
nginx = {
|
nginx = {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ config, lib, pkgs, ... }:
|
{ config, ... }:
|
||||||
let
|
let
|
||||||
domain = "users.${config.networking.domain}";
|
domain = "users.${config.networking.domain}";
|
||||||
port = 8083;
|
port = 8083;
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue