Compare commits
2 commits
ff22ae62b9
...
10ddb167ca
Author | SHA1 | Date | |
---|---|---|---|
10ddb167ca | |||
5c998db6fc |
5 changed files with 48 additions and 13 deletions
41
flake.lock
41
flake.lock
|
@ -85,11 +85,11 @@
|
|||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1728726232,
|
||||
"narHash": "sha256-8ZWr1HpciQsrFjvPMvZl0W+b0dilZOqXPoKa2Ux36bc=",
|
||||
"lastModified": 1728791962,
|
||||
"narHash": "sha256-nr5QiXwQcZmf6/auC1UpX8iAtINMtdi2mH+OkqJQVmU=",
|
||||
"owner": "nix-community",
|
||||
"repo": "home-manager",
|
||||
"rev": "d57112db877f07387ce7104b5ac346ede556d2d7",
|
||||
"rev": "64c6325b28ebd708653dd41d88f306023f296184",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -121,11 +121,11 @@
|
|||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1728263287,
|
||||
"narHash": "sha256-GJDtsxz2/zw6g/Nrp4XVWBS5IaZ7ZUkuvxPOBEDe7pg=",
|
||||
"lastModified": 1728790083,
|
||||
"narHash": "sha256-grMdAd4KSU6uPqsfLzA1B/3pb9GtGI9o8qb0qFzEU/Y=",
|
||||
"owner": "nix-community",
|
||||
"repo": "nix-index-database",
|
||||
"rev": "5fce10c871bab6d7d5ac9e5e7efbb3a2783f5259",
|
||||
"rev": "5c54c33aa04df5dd4b0984b7eb861d1981009b22",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -152,11 +152,11 @@
|
|||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1728627514,
|
||||
"narHash": "sha256-r+SF9AnHrTg+bk6YszoKfV9lgyw+yaFUQe0dOjI0Z2o=",
|
||||
"lastModified": 1728740863,
|
||||
"narHash": "sha256-u+rxA79a0lyhG+u+oPBRtTDtzz8kvkc9a6SWSt9ekVc=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "c505ebf777526041d792a49d5f6dd4095ea391a7",
|
||||
"rev": "a3f9ad65a0bf298ed5847629a57808b97e6e8077",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -208,7 +208,8 @@
|
|||
"nixpkgs": "nixpkgs",
|
||||
"nixpkgs-unstable": "nixpkgs-unstable",
|
||||
"secrets": "secrets",
|
||||
"simple-nixos-mailserver": "simple-nixos-mailserver"
|
||||
"simple-nixos-mailserver": "simple-nixos-mailserver",
|
||||
"sortseer": "sortseer"
|
||||
}
|
||||
},
|
||||
"secrets": {
|
||||
|
@ -251,6 +252,26 @@
|
|||
"type": "gitlab"
|
||||
}
|
||||
},
|
||||
"sortseer": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1728837655,
|
||||
"narHash": "sha256-Yrdp5vDg3mBA8comHPNHPLnmDTKPCH/pCyV4BtEtmKc=",
|
||||
"ref": "refs/heads/master",
|
||||
"rev": "9bbcddfb74cf80cf1fb016aeac9e8554cb4d5850",
|
||||
"revCount": 4,
|
||||
"type": "git",
|
||||
"url": "https://git.caspervk.net/caspervk/sortseer.git"
|
||||
},
|
||||
"original": {
|
||||
"type": "git",
|
||||
"url": "https://git.caspervk.net/caspervk/sortseer.git"
|
||||
}
|
||||
},
|
||||
"systems": {
|
||||
"locked": {
|
||||
"lastModified": 1681028828,
|
||||
|
|
|
@ -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