fmt: a bit of a cleanup

This commit is contained in:
silver 2023-07-15 15:05:57 +01:00
parent 3a28291933
commit 6412a53070
12 changed files with 75 additions and 49 deletions

View file

@ -87,13 +87,10 @@
};
config = mkIf cfg.enable {
services.skynet_backup = {
normal.backups = [
"/var/vmail"
"/var/dkim"
];
host = { ip = cfg.host.ip; name = cfg.host.name; };
};
services.skynet_backup.normal.backups = [
"/var/vmail"
"/var/dkim"
];
age.secrets.ldap_pw.file = ../secrets/ldap/pw.age;

View file

@ -43,7 +43,9 @@
config = mkIf cfg.enable {
# https://search.nixos.org/options?from=0&size=50&sort=alpha_desc&type=packages&query=services.gitlab-runner.
environment.systemPackages = [
pkgs.gitlab-runner
];
age.secrets."${cfg.runner.name}".file = ../secrets/gitlab/runners/${cfg.runner.name}.age;

View file

@ -41,6 +41,13 @@ in {
];
};
services.skynet_backup = {
host = {
ip = ip_pub;
name = name;
};
};
# keep the wired usb connection alive (front panel)
networking.interfaces.enp0s29u1u5u2.useDHCP = true;

View file

@ -39,15 +39,17 @@ in {
];
};
services.skynet_backup = {
host = {
ip = ip_pub;
name = name;
};
};
services.skynet_ulfm = {
enable = true;
host = {
# pass in teh ip (used for firewall)
ip = ip_pub;
# the name is used for dns
name = name;
};
};

View file

@ -42,18 +42,20 @@ in {
];
};
services.skynet_backup = {
host = {
ip = ip_pub;
name = name;
};
};
# we use this to pass in teh relevent infomation to the
services.skynet_email = {
enable = true;
host = {
# pass in teh ip (used for firewall)
ip = ip_pub;
# the name is used for dns
name = name;
};
domain = "ulcompsoc.ie";
};
}

View file

@ -42,16 +42,19 @@ in {
];
};
services.skynet_gitlab = {
enable = true;
host = {
# pass in teh ip (used for firewall)
ip = ip_pub;
# the name is used for dns
name = name;
};
services.skynet_backup = {
host = {
ip = ip_pub;
name = name;
};
};
services.skynet_gitlab = {
enable = true;
host = {
ip = ip_pub;
name = name;
};
};
}

View file

@ -42,15 +42,17 @@ in {
];
};
# we use this to pass in teh relevent infomation to the
services.skynet_backup = {
host = {
ip = ip_pub;
name = name;
};
};
services.skynet_ldap = {
enable = true;
host = {
# pass in teh ip (used for firewall)
ip = ip_pub;
# the name is used for dns
name = name;
};
};

View file

@ -54,20 +54,11 @@ in {
};
services.skynet_backup = {
normal.backups = [
#"/etc/skynet"
];
server.enable = true;
host = {
ip = ip_pub;
name = name;
};
server = {
enable = true;
};
};
}

View file

@ -40,14 +40,17 @@ in {
];
};
services.skynet_backup = {
host = {
ip = ip_pub;
name = name;
};
};
services.skynet_games = {
enable = true;
host = {
# pass in teh ip (used for firewall)
ip = ip_pub;
# the name is used for dns
name = name;
};
};

View file

@ -48,6 +48,13 @@ in {
};
};
services.skynet_backup = {
host = {
ip = ip_pub;
name = name;
};
};
skynet_dns = {
enable = true;

View file

@ -32,6 +32,13 @@ in {
tags = [ "active" "dns" ];
};
services.skynet_backup = {
host = {
ip = ip_pub;
name = name;
};
};
skynet_dns = {
enable = true;

View file

@ -41,9 +41,12 @@ in {
];
};
environment.systemPackages = [
pkgs.gitlab-runner
];
services.skynet_backup = {
host = {
ip = ip_pub;
name = name;
};
};
services.skynet_gitlab_runner = {
enable = true;