Commit Graph

18 Commits

Author SHA1 Message Date
83bb89b33a
nixos/services/gallery-dl: refactor module for its settings merging
Instead of duplicating the options where the application selects those
options, we let the nixpkgs module system do that instead.
2024-09-11 13:05:21 +08:00
eab8631e9b
services/gallery-dl: remove persistent option 2023-10-27 13:24:21 +08:00
c410ece05a
treewide: remove options attribute for modules 2023-10-02 14:26:11 +08:00
3c4aef00d4
modules: convert module description to RFC0072-style 2023-07-27 11:13:39 +08:00
Gabriel Arazas
3a7816a901 chore: reformat codebase 2022-11-19 11:32:29 +08:00
Gabriel Arazas
ae0cb8596a config: refactor and update 2022-10-10 11:45:22 +08:00
Gabriel Arazas
d20b192c41 services: refactor 2022-09-12 17:36:22 +08:00
Gabriel Arazas
8fdd60098f services: fix correct module documentation 2022-07-30 16:22:24 +08:00
Gabriel Arazas
906ea48993 services: change dependency requirement
I didn't realize `network.target` is very ambiguous. The next best thing
for booting up the service after the system is up is `default.target`
but we're being explicit here for NixOS services just to make sure.
2022-07-22 15:02:30 +08:00
Gabriel Arazas
d9811b1d84 services/gallery-dl: add job persistence 2022-07-21 09:54:36 +08:00
Gabriel Arazas
dd9921fc7e services/gallery-dl: add job-specific settings
The arguments are also arranged to let the resulting settings cascade
from service-wide to job-specific settings.
2022-07-20 16:56:44 +08:00
Gabriel Arazas
a916d78f09 profiles/services: remove path assertions
It was supposed to create the directory if it wasn't found which is
self-defeating. In any case, it will still fail if the directory is in
the way of an unmounted device.
2022-07-13 19:11:33 +08:00
Gabriel Arazas
d111304d71 nixos/services: add path assertions 2022-07-06 07:38:21 +08:00
Gabriel Arazas
cffc206eb4 services/gallery-dl: update hardening options 2022-04-29 16:55:09 +08:00
Gabriel Arazas
b50b53238c services/gallery-dl: fix script and options 2022-04-22 13:14:02 +08:00
Gabriel Arazas
10b3d01424 services/gallery-dl: harden the service 2022-04-17 22:33:04 +08:00
Gabriel Arazas
49018fb53e modules: reformat and refactor 2022-04-06 10:48:29 +08:00
Gabriel Arazas
e0bba5655b services/gallery-dl: init service
Both for home-manager and NixOS, this time. Because I find use for both
of them, especially if you have a dedicated server for NixOS.
2022-04-03 10:10:29 +08:00