summaryrefslogtreecommitdiff
path: root/modules/server
diff options
context:
space:
mode:
authorFuwn <[email protected]>2024-09-20 23:59:09 -0700
committerFuwn <[email protected]>2024-09-20 23:59:09 -0700
commit19b2b3d78464dd28738c2660076762be9545e333 (patch)
tree8c18f88975d627efe81f62cb296b2d9b87097969 /modules/server
parentsystem: ssh managed by home manager (diff)
downloadnixos-config-19b2b3d78464dd28738c2660076762be9545e333.tar.xz
nixos-config-19b2b3d78464dd28738c2660076762be9545e333.zip
himeji: move irc stack from seti
Diffstat (limited to 'modules/server')
-rw-r--r--modules/server/networking/default.nix19
-rw-r--r--modules/server/virtualisation.nix14
2 files changed, 25 insertions, 8 deletions
diff --git a/modules/server/networking/default.nix b/modules/server/networking/default.nix
index 836462a..8f6c1d9 100644
--- a/modules/server/networking/default.nix
+++ b/modules/server/networking/default.nix
@@ -10,14 +10,17 @@
hostName = "himeji";
domain = "";
nftables.enable = true;
- allowedUDPPorts = [ 53 ];
- firewall.allowedTCPPorts = [
- 70
- 79
- 80
- 443
- 1965
- ];
+ firewall = {
+ allowedUDPPorts = [ 53 ];
+
+ allowedTCPPorts = [
+ 70
+ 79
+ 80
+ 443
+ 1965
+ ];
+ };
};
}
diff --git a/modules/server/virtualisation.nix b/modules/server/virtualisation.nix
index 151cd9d..bfdb4a9 100644
--- a/modules/server/virtualisation.nix
+++ b/modules/server/virtualisation.nix
@@ -77,6 +77,20 @@ in
ports = [ "8090:8088" ];
volumes = [ "/mnt/docker/bin:/root/db" ];
};
+
+ pounce = {
+ image = "fuwn/pounce";
+ autoStart = true;
+ ports = [ "6697:6697" ];
+ volumes = [ "/mnt/docker/pounce:/root/.config/pounce" ];
+ environment.USER = "fuwn";
+ };
+
+ litterbox = {
+ image = "fuwn/litterbox";
+ autoStart = true;
+ volumes = [ "/mnt/docker/litterbox:/root/.config/litterbox" ];
+ };
};
};
};