refactor(services/selfhosts): adding the format to nix files
This commit is contained in:
parent
76eb961891
commit
93d7fabef5
4 changed files with 89 additions and 71 deletions
|
|
@ -1,14 +1,14 @@
|
|||
{
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
let
|
||||
cfg = config.service.selfhost.jellyfin;
|
||||
wireguard-key = config.age.secrets."wireguard-secret".path;
|
||||
in
|
||||
{
|
||||
{
|
||||
config = lib.mkIf cfg {
|
||||
virtualisation = {
|
||||
docker.enable = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue