diff options
author | tzlil <tzlils@protonmail.com> | 2023-04-21 16:49:37 +0300 |
---|---|---|
committer | tzlil <tzlils@protonmail.com> | 2023-04-21 16:49:37 +0300 |
commit | 2649599a5a0d053c701d8a5be02c0f0b1d57b2f2 (patch) | |
tree | fd10b61a5b10ebce42a32ca40c65f2ea4616dcc7 /hosts/vps/hydrus.nix | |
parent | a65eb5d9197bc36bd95a58158347c110e4e864b2 (diff) |
trying now
Diffstat (limited to 'hosts/vps/hydrus.nix')
-rw-r--r-- | hosts/vps/hydrus.nix | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/hosts/vps/hydrus.nix b/hosts/vps/hydrus.nix index 6727ed7..efd5383 100644 --- a/hosts/vps/hydrus.nix +++ b/hosts/vps/hydrus.nix @@ -15,7 +15,7 @@ systemd.services.Xvnc = { description = "Xvnc"; - wantedBy = [ "multi-user.target" ]; + wantedBy = ["multi-user.target"]; serviceConfig = { ExecStart = "${pkgs.turbovnc}/bin/Xvnc :30 -iglx -depth 24 -rfbwait 120000 -deferupdate 1 -localhost -verbose -securitytypes none"; @@ -25,14 +25,14 @@ RestartSec = "5s"; }; }; - + systemd.services.hydrus = { description = "Hydrus"; - wantedBy = [ "multi-user.target" "Xvnc.service" ]; - wants = [ "podman-hydrus-web.service" ]; + wantedBy = ["multi-user.target" "Xvnc.service"]; + wants = ["podman-hydrus-web.service"]; serviceConfig = { - Environment = "DISPLAY=:30"; + Environment = "DISPLAY=:30"; ExecStart = "${pkgs.hydrus}/bin/hydrus-client -d /home/hydrus"; User = "hydrus"; Group = "hydrus"; @@ -41,7 +41,6 @@ }; }; - security.lockKernelModules = lib.mkForce false; virtualisation.oci-containers.containers.hydrus-web = { ports = ["8080:80"]; |