diff options
author | Alan Pearce | 2024-06-24 20:33:34 +0200 |
---|---|---|
committer | Alan Pearce | 2024-06-24 20:33:34 +0200 |
commit | 9f688ea9b483f4b508c1c238b7761de21989a8c3 (patch) | |
tree | 061b330df468ea73cd92e456f8857c910f094a8d /modules/laminar.nix | |
parent | 1257f61075c00d7b77590261735d811613210aa0 (diff) | |
download | nix-packages-9f688ea9b483f4b508c1c238b7761de21989a8c3.tar.lz nix-packages-9f688ea9b483f4b508c1c238b7761de21989a8c3.tar.zst nix-packages-9f688ea9b483f4b508c1c238b7761de21989a8c3.zip |
laminar: enable running skopeo
Diffstat (limited to 'modules/laminar.nix')
-rw-r--r-- | modules/laminar.nix | 4 |
1 files changed, 4 insertions, 0 deletions
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} |