Add ports

This commit is contained in:
muon 2024-12-19 21:59:30 +00:00
parent 15a3ca5e14
commit 357e290761
4 changed files with 42 additions and 22 deletions

View file

@ -13,6 +13,7 @@ in with lib; {
};
config = {
networking.firewall = { allowedTCPPorts = [ 443 80 ]; };
services.grav = mkIf cfg.grav.enable {
enable = true;
systemSettings = {
@ -20,5 +21,6 @@ in with lib; {
pages = { theme = "agency"; };
};
};
users.users.${config.mods.user.name}.extraGroups = lib.mkAfter [ "grav" ];
};
}