diff --git a/hosts/slateport/raffauflabs.nix b/hosts/slateport/raffauflabs.nix index aab5ee16..f32a64b1 100644 --- a/hosts/slateport/raffauflabs.nix +++ b/hosts/slateport/raffauflabs.nix @@ -43,6 +43,7 @@ in { homepage-dashboard = { enable = true; + environmentFile = config.age.secrets.homepage.path; openFirewall = true; bookmarks = [ @@ -87,6 +88,11 @@ in { description = "Audiobooks & podcasts."; href = "https://podcasts.raffauflabs.com"; icon = "audiobookshelf"; + widget = { + type = "audiobookshelf"; + url = "http://mauville:13378"; + key = "{{HOMEPAGE_VAR_ABS}}"; + }; }; } { @@ -119,6 +125,13 @@ in { description = "Torrent client with web UI."; href = "http://mauville:9091"; icon = "transmission"; + widget = { + type = "transmission"; + url = "http://mauville:9091"; + username = "transmission"; + password = "{{HOMEPAGE_VAR_TRANSMISSION}}"; + rpcUrl = "/transmission/"; + }; }; } { diff --git a/hosts/slateport/secrets.nix b/hosts/slateport/secrets.nix index 33f9348c..f6c1c479 100644 --- a/hosts/slateport/secrets.nix +++ b/hosts/slateport/secrets.nix @@ -1,6 +1,7 @@ { age.secrets = { cloudflare.file = ../../secrets/cloudflare.age; + homepage.file = ../../secrets/homepage.age; k3s.file = ../../secrets/k3s.age; syncthingCert.file = ../../secrets/aly/syncthing/slateport/cert.age; syncthingKey.file = ../../secrets/aly/syncthing/slateport/key.age; diff --git a/secrets/aly/transmissionRemote.age b/secrets/aly/transmissionRemote.age index 2f0fd069..ad6c7cd8 100644 Binary files a/secrets/aly/transmissionRemote.age and b/secrets/aly/transmissionRemote.age differ diff --git a/secrets/homepage.age b/secrets/homepage.age new file mode 100644 index 00000000..aa670874 Binary files /dev/null and b/secrets/homepage.age differ diff --git a/secrets/secrets.nix b/secrets/secrets.nix index a6a8c320..2bc697f3 100644 --- a/secrets/secrets.nix +++ b/secrets/secrets.nix @@ -37,6 +37,7 @@ in { "aly/syncthing/slateport/key.age".publicKeys = keys; "aly/transmissionRemote.age".publicKeys = keys; "cloudflare.age".publicKeys = keys; + "homepage.age".publicKeys = keys; "k3s.age".publicKeys = keys; "lastFM/apiKey.age".publicKeys = keys; "lastFM/secret.age".publicKeys = keys; diff --git a/secrets/transmission.age b/secrets/transmission.age index 2aa3c8c9..0b2c13bb 100644 Binary files a/secrets/transmission.age and b/secrets/transmission.age differ