fix(*): adapt to nixos-24.05 changes
This commit is contained in:
parent
ae86a8b860
commit
4c18f0a7ab
12 changed files with 56 additions and 27 deletions
|
@ -1,15 +1,17 @@
|
|||
{
|
||||
repoFlake,
|
||||
specialArgs,
|
||||
hostAddress,
|
||||
localAddress,
|
||||
imapsPort ? 993,
|
||||
sievePort ? 4190,
|
||||
autoStart ? false,
|
||||
}: {
|
||||
inherit specialArgs;
|
||||
config = {
|
||||
pkgs,
|
||||
config,
|
||||
lib,
|
||||
repoFlake,
|
||||
...
|
||||
}: {
|
||||
system.stateVersion = "21.11"; # Did you read the comment?
|
||||
|
@ -21,6 +23,12 @@
|
|||
../profiles/common/user.nix
|
||||
];
|
||||
|
||||
networking.firewall.enable = true;
|
||||
networking.firewall.allowedTCPPorts = [
|
||||
imapsPort
|
||||
sievePort
|
||||
];
|
||||
|
||||
# FIXME: find out how to use the `defaultSopsFile` so i don't have to specify each secret separately
|
||||
# sops.defaultSopsFile = ./mailserver_secrets.yaml;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue