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";
|
url = "gitlab:simple-nixos-mailserver/nixos-mailserver/nixos-24.05";
|
||||||
inputs.nixpkgs.follows = "nixpkgs"; # use the same nixpkgs as the system
|
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 = {
|
outputs = {
|
||||||
|
|
|
@ -9,6 +9,7 @@
|
||||||
./knot-dns.nix
|
./knot-dns.nix
|
||||||
./mumble.nix
|
./mumble.nix
|
||||||
./network.nix
|
./network.nix
|
||||||
|
./sortseer.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
networking.hostName = "alpha";
|
networking.hostName = "alpha";
|
||||||
|
|
|
@ -91,9 +91,6 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
networking = {
|
networking = {
|
||||||
firewall.allowedTCPPorts = [
|
|
||||||
25 # @sortseer.dk
|
|
||||||
];
|
|
||||||
firewall.allowedUDPPorts = [
|
firewall.allowedUDPPorts = [
|
||||||
51820 # wg-sigma-public
|
51820 # wg-sigma-public
|
||||||
51821 # wg-sigma-p2p
|
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