mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-02-07 06:19:00 +00:00
home-manager/services/{gallery-dl,yt-dlp}: update unit name template
This commit is contained in:
parent
d29a451780
commit
e89e80516e
@ -3,7 +3,7 @@
|
||||
let
|
||||
cfg = config.services.gallery-dl;
|
||||
|
||||
jobUnitName = name: "gallery-dl-service-job-${name}";
|
||||
jobUnitName = name: "gallery-dl-job-${name}";
|
||||
|
||||
settingsFormat = pkgs.formats.json { };
|
||||
settingsFormatFile =
|
||||
|
@ -3,7 +3,7 @@
|
||||
let
|
||||
cfg = config.services.yt-dlp;
|
||||
|
||||
jobUnitName = name: "yt-dlp-archive-service-${name}";
|
||||
jobUnitName = name: "yt-dlp-job-${name}";
|
||||
|
||||
serviceLevelArgs = lib.escapeShellArgs cfg.extraArgs;
|
||||
|
||||
|
@ -27,7 +27,7 @@
|
||||
test.stubs.yt-dlp = { };
|
||||
|
||||
nmt.script = ''
|
||||
assertFileExists home-files/.config/systemd/user/yt-dlp-archive-service-art.service
|
||||
assertFileExists home-files/.config/systemd/user/yt-dlp-archive-service-art.timer
|
||||
assertFileExists home-files/.config/systemd/user/yt-dlp-job-art.service
|
||||
assertFileExists home-files/.config/systemd/user/yt-dlp-job-art.timer
|
||||
'';
|
||||
}
|
||||
|
@ -51,14 +51,14 @@
|
||||
test.stubs.yt-dlp = { };
|
||||
|
||||
nmt.script = ''
|
||||
assertFileExists home-files/.config/systemd/user/yt-dlp-archive-service-art.service
|
||||
assertFileExists home-files/.config/systemd/user/yt-dlp-archive-service-art.timer
|
||||
assertFileExists home-files/.config/systemd/user/yt-dlp-job-art.service
|
||||
assertFileExists home-files/.config/systemd/user/yt-dlp-job-art.timer
|
||||
|
||||
assertFileExists home-files/.config/systemd/user/yt-dlp-archive-service-music.service
|
||||
assertFileExists home-files/.config/systemd/user/yt-dlp-archive-service-music.timer
|
||||
assertFileExists home-files/.config/systemd/user/yt-dlp-job-music.service
|
||||
assertFileExists home-files/.config/systemd/user/yt-dlp-job-music.timer
|
||||
|
||||
assertFileExists home-files/.config/systemd/user/yt-dlp-archive-service-miscellanea.service
|
||||
assertFileExists home-files/.config/systemd/user/yt-dlp-archive-service-miscellanea.timer
|
||||
assertFileExists home-files/.config/systemd/user/yt-dlp-job-miscellanea.service
|
||||
assertFileExists home-files/.config/systemd/user/yt-dlp-job-miscellanea.timer
|
||||
|
||||
assertPathNotExists home-files/.config/yt-dlp/config
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user