From 9f688ea9b483f4b508c1c238b7761de21989a8c3 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Mon, 24 Jun 2024 20:33:34 +0200 Subject: laminar: enable running skopeo --- modules/laminar.nix | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'modules') diff --git a/modules/laminar.nix b/modules/laminar.nix index 7984c5c..02944f3 100644 --- a/modules/laminar.nix +++ b/modules/laminar.nix @@ -105,10 +105,14 @@ in wantedBy = [ "multi-user.target" ]; after = [ "network.target" ]; inherit (cfg) path; + environment = { + XDG_RUNTIME_DIR = "%t/laminar"; + }; serviceConfig = { User = cfg.user; Group = cfg.group; ExecStart = "${cfg.package}/bin/laminard -v"; + RuntimeDirectory = "laminar"; EnvironmentFile = pkgs.writeText "laminar.conf" '' LAMINAR_HOME=${cfg.homeDir} LAMINAR_BIND_HTTP=${cfg.settings.bindHTTP} -- cgit 1.4.1