masive rewriting and setup of server files
This commit is contained in:
@@ -1,6 +1,13 @@
|
||||
{ lib, config, ... }:
|
||||
{
|
||||
options.my.servers.sabnzbd.enable = lib.mkEnableOption "enable";
|
||||
options.my.servers.sabnzbd = {
|
||||
enable = lib.mkEnableOption "enable";
|
||||
port = lib.mkOption {
|
||||
type = lib.types.int;
|
||||
default = 3399;
|
||||
description = "The port to access sabnzbd web-ui";
|
||||
};
|
||||
};
|
||||
config = lib.mkIf config.my.servers.sabnzbd.enable {
|
||||
services.sabnzbd = {
|
||||
enable = true;
|
||||
|
||||
Reference in New Issue
Block a user