move some stuff into hosts/hostname/profiles
This commit is contained in:
parent
9c9a3d543c
commit
e2946e4a1f
33 changed files with 14 additions and 14 deletions
11
hosts/hopper/profiles/lab/audiobookshelf.nix
Normal file
11
hosts/hopper/profiles/lab/audiobookshelf.nix
Normal file
|
@ -0,0 +1,11 @@
|
|||
{config, ...}: {
|
||||
services.audiobookshelf = {
|
||||
enable = true;
|
||||
host = "0.0.0.0";
|
||||
};
|
||||
|
||||
environment.persistence."/persist".directories = ["/var/lib/${config.services.audiobookshelf.dataDir}"];
|
||||
services.restic.backups.hopper.paths = [
|
||||
"/var/lib/${config.services.audiobookshelf.dataDir}"
|
||||
];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue