mirror of
https://github.com/JulienMalka/snowfield.git
synced 2025-04-04 03:01:05 +02:00
some formatting
This commit is contained in:
parent
fa91fc44e4
commit
632b41077f
1 changed files with 7 additions and 7 deletions
|
@ -3,7 +3,7 @@ with lib;
|
||||||
let
|
let
|
||||||
cfg = config.luj.navidrome;
|
cfg = config.luj.navidrome;
|
||||||
port = 4533;
|
port = 4533;
|
||||||
settingsFormat = pkgs.formats.json {};
|
settingsFormat = pkgs.formats.json { };
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
|
||||||
|
@ -33,7 +33,7 @@ in
|
||||||
config = mkIf cfg.enable (
|
config = mkIf cfg.enable (
|
||||||
mkMerge [{
|
mkMerge [{
|
||||||
|
|
||||||
sops.secrets."navidrome.json" = {
|
sops.secrets."navidrome.json" = {
|
||||||
owner = cfg.user;
|
owner = cfg.user;
|
||||||
format = "binary";
|
format = "binary";
|
||||||
sopsFile = ../../secrets/navidrome-config;
|
sopsFile = ../../secrets/navidrome-config;
|
||||||
|
@ -42,7 +42,7 @@ in
|
||||||
|
|
||||||
|
|
||||||
systemd.services.navidrome = {
|
systemd.services.navidrome = {
|
||||||
|
|
||||||
description = "Navidrome Media Server";
|
description = "Navidrome Media Server";
|
||||||
after = [ "network.target" ];
|
after = [ "network.target" ];
|
||||||
wantedBy = [ "multi-user.target" ];
|
wantedBy = [ "multi-user.target" ];
|
||||||
|
@ -62,10 +62,10 @@ in
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
(mkIf cfg.nginx.enable (mkSubdomain cfg.nginx.subdomain port))
|
(mkIf cfg.nginx.enable (mkSubdomain cfg.nginx.subdomain port))
|
||||||
|
|
||||||
(mkIf cfg.nginx.enable (mkVPNSubdomain cfg.nginx.subdomain port))]);
|
(mkIf cfg.nginx.enable (mkVPNSubdomain cfg.nginx.subdomain port))]);
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue