Compare commits
No commits in common. "9b59388c3c2a3f512808db2a001ef62fe99fdf0b" and "63002031d6a00727130dd8e0b41b02729b3b615a" have entirely different histories.
9b59388c3c
...
63002031d6
18 changed files with 16 additions and 41 deletions
|
@ -1,10 +1,5 @@
|
|||
{ depot, ... }:
|
||||
|
||||
{
|
||||
services.bitwarden = {
|
||||
nodes.host = [ "VEGAS" ];
|
||||
nixos.host = ./host.nix;
|
||||
};
|
||||
|
||||
dns.records.keychain.target = [ depot.hours.VEGAS.interfaces.primary.addrPublic ];
|
||||
}
|
||||
|
|
|
@ -1,10 +1,5 @@
|
|||
{ depot, ... }:
|
||||
|
||||
{
|
||||
services.gitlab = {
|
||||
nodes.host = [ "VEGAS" ];
|
||||
nixos.host = ./host.nix;
|
||||
};
|
||||
|
||||
dns.records.git.target = [ depot.hours.VEGAS.interfaces.primary.addrPublic ];
|
||||
}
|
||||
|
|
|
@ -1,24 +1,6 @@
|
|||
{ depot, ... }:
|
||||
|
||||
{
|
||||
services.mail = {
|
||||
nodes = {
|
||||
smtp = [ "VEGAS" ];
|
||||
imap = [ "VEGAS" ];
|
||||
};
|
||||
nixos = {
|
||||
smtp = [
|
||||
./postfix.nix
|
||||
./opendkim.nix
|
||||
./certificate.nix
|
||||
];
|
||||
imap = [
|
||||
./imap.nix
|
||||
./certificate.nix
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
dns.records = let
|
||||
inherit (depot.lib.meta) domain adminEmail;
|
||||
mailServerAddr = depot.hours.VEGAS.interfaces.primary.addrPublic;
|
||||
|
|
|
@ -1,11 +1,6 @@
|
|||
{ depot, ... }:
|
||||
|
||||
{
|
||||
services.sso = {
|
||||
nodes.host = [ "VEGAS" ];
|
||||
nixos.host = ./host.nix;
|
||||
};
|
||||
|
||||
dns.records = let
|
||||
ssoAddr = [ depot.hours.VEGAS.interfaces.primary.addrPublic ];
|
||||
in {
|
||||
|
|
|
@ -66,11 +66,9 @@ in
|
|||
services.wireguard = {
|
||||
nodes = {
|
||||
mesh = [ "checkmate" "grail" "thunderskin" "VEGAS" "prophet" ];
|
||||
storm = [ "VEGAS" ];
|
||||
};
|
||||
nixos = {
|
||||
mesh = ./mesh.nix;
|
||||
storm = ./storm.nix;
|
||||
};
|
||||
secrets.meshPrivateKey = {
|
||||
nodes = config.services.wireguard.nodes.mesh;
|
||||
|
|
|
@ -9,7 +9,7 @@ let
|
|||
owner = "gitlab";
|
||||
group = "gitlab";
|
||||
mode = "0400";
|
||||
file = ../../../secrets/${name}.age;
|
||||
file = ../../../../secrets/${name}.age;
|
||||
};
|
||||
|
||||
secrets = lib.mapAttrs (_: v: v.path) config.age.secrets;
|
|
@ -1,6 +1,11 @@
|
|||
{ depot, lib, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
./imap.nix
|
||||
./opendkim.nix
|
||||
./postfix.nix
|
||||
];
|
||||
|
||||
security.acme.certs."mail.${depot.lib.meta.domain}" = {
|
||||
dnsProvider = "exec";
|
||||
webroot = lib.mkForce null;
|
|
@ -32,7 +32,7 @@ let
|
|||
'';
|
||||
in {
|
||||
|
||||
age.secrets.dovecotLdapToken.file = ../../../secrets/dovecot-ldap-token.age;
|
||||
age.secrets.dovecotLdapToken.file = ../../../../secrets/dovecot-ldap-token.age;
|
||||
|
||||
networking.firewall.allowedTCPPorts = [ 143 993 ];
|
||||
|
|
@ -14,7 +14,7 @@ let
|
|||
in
|
||||
{
|
||||
age.secrets."postfix-ldap-mailboxes.cf" = {
|
||||
file = ../../../secrets/postfix-ldap-mailboxes.age;
|
||||
file = ../../../../secrets/postfix-ldap-mailboxes.age;
|
||||
owner = "postfix";
|
||||
group = "postfix";
|
||||
mode = "0400";
|
|
@ -9,7 +9,7 @@ in
|
|||
links.keycloak.protocol = "http";
|
||||
|
||||
age.secrets.keycloak-dbpass = {
|
||||
file = ../../../secrets/keycloak-dbpass.age;
|
||||
file = ../../../../secrets/keycloak-dbpass.age;
|
||||
owner = "root";
|
||||
group = "root";
|
||||
mode = "0400";
|
|
@ -6,7 +6,7 @@ let
|
|||
in
|
||||
{
|
||||
age.secrets.wireguard-key-storm = {
|
||||
file = ../../../secrets + "/wireguard-key-storm-${hostName}.age";
|
||||
file = ../../../../secrets + "/wireguard-key-storm-${hostName}.age";
|
||||
mode = "0400";
|
||||
};
|
||||
|
|
@ -16,10 +16,15 @@
|
|||
|
||||
# Services
|
||||
./services/backbone-routing
|
||||
./services/bitwarden
|
||||
./services/cdn-shield
|
||||
./services/gitlab
|
||||
./services/jokes
|
||||
./services/mail
|
||||
./services/minecraft
|
||||
./services/sso
|
||||
./services/websites
|
||||
./services/wireguard-server
|
||||
depot.nixosModules.hyprspace
|
||||
depot.nixosModules.nix-builder
|
||||
|
||||
|
|
Loading…
Reference in a new issue