diff options
author | Michal Koutenský <michal@koutensky.net> | 2024-03-28 14:45:02 +0100 |
---|---|---|
committer | Michal Koutenský <michal@koutensky.net> | 2024-04-18 00:18:43 +0200 |
commit | f7c740853dccdc0ab120182503c8d2710a658f8a (patch) | |
tree | 837371771c416497ca78472e9f30872450cae5e9 /nixos/tests | |
parent | 759812cc34ee9cf74757b23c5c8d3648d38cbf32 (diff) |
nixosTests.gonic: set up all necessary paths using tmpfiles
Diffstat (limited to 'nixos/tests')
-rw-r--r-- | nixos/tests/gonic.nix | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/nixos/tests/gonic.nix b/nixos/tests/gonic.nix index 726d7da0970f7..adf0f511a9cf7 100644 --- a/nixos/tests/gonic.nix +++ b/nixos/tests/gonic.nix @@ -2,11 +2,19 @@ import ./make-test-python.nix ({ pkgs, ... }: { name = "gonic"; nodes.machine = { ... }: { + systemd.tmpfiles.settings = { + "10-gonic" = { + "/tmp/music"."d" = {}; + "/tmp/podcast"."d" = {}; + "/tmp/playlists"."d" = {}; + }; + }; services.gonic = { enable = true; settings = { - music-path = [ "/tmp" ]; - podcast-path = "/tmp"; + music-path = [ "/tmp/music" ]; + podcast-path = "/tmp/podcast"; + playlists-path = "/tmp/playlists"; }; }; }; |