diff options
author | Pol Dellaiera <pol.dellaiera@protonmail.com> | 2024-06-04 21:35:55 +0200 |
---|---|---|
committer | Pol Dellaiera <pol.dellaiera@protonmail.com> | 2024-06-05 08:05:18 +0200 |
commit | a8670536e5d3c6ee9561372f0f94bb1d788fb351 (patch) | |
tree | 1295bc9396afb456c8e3ed6090d3a1a25e93f90b /nixos/modules | |
parent | 61ab4de94c4fa4daf7af7520c114404723862994 (diff) |
nixos/open-webui: remove `preStart` step
nixos/open-webui: remove `preStart` step
Diffstat (limited to 'nixos/modules')
-rw-r--r-- | nixos/modules/services/misc/open-webui.nix | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/nixos/modules/services/misc/open-webui.nix b/nixos/modules/services/misc/open-webui.nix index 7f1a7c5b538f6..fad81fb1ee2a9 100644 --- a/nixos/modules/services/misc/open-webui.nix +++ b/nixos/modules/services/misc/open-webui.nix @@ -67,13 +67,9 @@ in wantedBy = [ "multi-user.target" ]; after = [ "network.target" ]; - preStart = '' - mkdir -p ${cfg.stateDir}/static - ''; - environment = { - STATIC_DIR = "${cfg.stateDir}/static"; - DATA_DIR = "${cfg.stateDir}"; + STATIC_DIR = "."; + DATA_DIR = "."; } // cfg.environment; serviceConfig = { |