alpha: sortseer service

This commit is contained in:
Casper V. Kristensen 2024-10-13 18:45:59 +02:00
parent 5c998db6fc
commit 10ddb167ca
4 changed files with 17 additions and 3 deletions

View file

@ -43,6 +43,10 @@
url = "gitlab:simple-nixos-mailserver/nixos-mailserver/nixos-24.05";
inputs.nixpkgs.follows = "nixpkgs"; # use the same nixpkgs as the system
};
sortseer = {
url = "git+https://git.caspervk.net/caspervk/sortseer.git";
inputs.nixpkgs.follows = "nixpkgs"; # use the same nixpkgs as the system
};
};
outputs = {

View file

@ -9,6 +9,7 @@
./knot-dns.nix
./mumble.nix
./network.nix
./sortseer.nix
];
networking.hostName = "alpha";

View file

@ -91,9 +91,6 @@
};
networking = {
firewall.allowedTCPPorts = [
25 # @sortseer.dk
];
firewall.allowedUDPPorts = [
51820 # wg-sigma-public
51821 # wg-sigma-p2p

12
hosts/alpha/sortseer.nix Normal file
View file

@ -0,0 +1,12 @@
{sortseer, ...}: {
imports = [
sortseer.nixosModules.default
];
# https://git.caspervk.net/caspervk/sortseer
services.sortseer.enable = true;
networking.firewall = {
allowedTCPPorts = [25];
};
}