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
15
hosts/hopper/profiles/roblox-playtime.nix
Normal file
15
hosts/hopper/profiles/roblox-playtime.nix
Normal file
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
inputs,
|
||||
config,
|
||||
...
|
||||
}: {
|
||||
imports = [inputs.roblox-playtime.nixosModules.roblox-playtime];
|
||||
|
||||
services.roblox-playtime = {
|
||||
enable = true;
|
||||
configFile = config.sops.secrets.roblox-playtime.path;
|
||||
};
|
||||
|
||||
environment.persistence."/persist".directories = ["/var/lib/roblox-playtime"];
|
||||
services.restic.backups.hopper.paths = ["/var/lib/roblox-playtime"];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue