mirror of
https://codeberg.org/muon/home.git
synced 2025-12-06 08:07:45 +00:00
Move grav
This commit is contained in:
parent
aaa78b5079
commit
7074efe217
2 changed files with 22 additions and 2 deletions
|
|
@ -12,10 +12,13 @@ in with lib; {
|
|||
};
|
||||
};
|
||||
|
||||
config = {
|
||||
networking.firewall = { allowedTCPPorts = [ 443 80 ]; };
|
||||
config = let port = 5001;
|
||||
in {
|
||||
networking.firewall = { allowedTCPPorts = [ port ]; };
|
||||
services.grav = mkIf cfg.grav.enable {
|
||||
inherit port;
|
||||
enable = true;
|
||||
root = "/curr/grav/grav";
|
||||
phpPackage = pkgs.php81;
|
||||
};
|
||||
users.users.${config.mods.user.name}.extraGroups = lib.mkAfter [ "grav" ];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue