alpha: sortseer service
This commit is contained in:
parent
5c998db6fc
commit
10ddb167ca
|
@ -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 = {
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
./knot-dns.nix
|
||||
./mumble.nix
|
||||
./network.nix
|
||||
./sortseer.nix
|
||||
];
|
||||
|
||||
networking.hostName = "alpha";
|
||||
|
|
|
@ -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
12
hosts/alpha/sortseer.nix
Normal file
|
@ -0,0 +1,12 @@
|
|||
{sortseer, ...}: {
|
||||
imports = [
|
||||
sortseer.nixosModules.default
|
||||
];
|
||||
|
||||
# https://git.caspervk.net/caspervk/sortseer
|
||||
services.sortseer.enable = true;
|
||||
|
||||
networking.firewall = {
|
||||
allowedTCPPorts = [25];
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue