mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2025-12-06 09:07:21 +01:00
feat: full nix-topology
This commit is contained in:
parent
ed15ef02bb
commit
c7132d2d85
38 changed files with 2464 additions and 807 deletions
|
|
@ -1,4 +1,7 @@
|
|||
{ pkgs, lib, config, ... }:
|
||||
{ self, pkgs, lib, config, ... }:
|
||||
let
|
||||
serviceDomain = "store.swarsel.win";
|
||||
in
|
||||
{
|
||||
options.swarselsystems.modules.server.transmission = lib.mkEnableOption "enable transmission and friends on server";
|
||||
config = lib.mkIf config.swarselsystems.modules.server.transmission {
|
||||
|
|
@ -55,6 +58,18 @@
|
|||
docker
|
||||
];
|
||||
|
||||
topology.self.services = {
|
||||
radarr.info = "https://${serviceDomain}/radarr";
|
||||
readarr = {
|
||||
name = "Readarr";
|
||||
info = "https://${serviceDomain}/readarr";
|
||||
icon = "${self}/topology/images/readarr.png";
|
||||
};
|
||||
sonarr.info = "https://${serviceDomain}/sonarr";
|
||||
lidarr.info = "https://${serviceDomain}/lidarr";
|
||||
prowlarr.info = "https://${serviceDomain}/prowlarr";
|
||||
};
|
||||
|
||||
services = {
|
||||
radarr = {
|
||||
enable = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue