nixosTests.gonic: set up all necessary paths using tmpfiles

Changed files
+10 -2
nixos
tests
+10 -2
nixos/tests/gonic.nix
···
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";
};
};
};