From 2649599a5a0d053c701d8a5be02c0f0b1d57b2f2 Mon Sep 17 00:00:00 2001 From: tzlil Date: Fri, 21 Apr 2023 16:49:37 +0300 Subject: trying now --- hosts/vps/hydrus.nix | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'hosts/vps/hydrus.nix') 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"]; -- cgit 1.4.1