mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 22:43:01 +00:00
nixosTests.gonic: set up all necessary paths using tmpfiles
This commit is contained in:
parent
759812cc34
commit
f7c740853d
@ -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";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user