mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-22 08:45:39 +00:00
move hostname to common because services aren't in darwin
This commit is contained in:
parent
a7adc18463
commit
51bee71faf
@ -137,6 +137,10 @@
|
|||||||
type = lib.types.str;
|
type = lib.types.str;
|
||||||
description = "Hostname for push notification services (ntfy).";
|
description = "Hostname for push notification services (ntfy).";
|
||||||
};
|
};
|
||||||
|
status = lib.mkOption {
|
||||||
|
type = lib.types.str;
|
||||||
|
description = "Hostname for status page (Uptime-Kuma).";
|
||||||
|
};
|
||||||
transmission = lib.mkOption {
|
transmission = lib.mkOption {
|
||||||
type = lib.types.str;
|
type = lib.types.str;
|
||||||
description = "Hostname for peer2peer downloads (Transmission).";
|
description = "Hostname for peer2peer downloads (Transmission).";
|
||||||
|
@ -1,13 +1,6 @@
|
|||||||
{ config, lib, ... }:
|
{ config, lib, ... }:
|
||||||
{
|
{
|
||||||
|
|
||||||
options = {
|
|
||||||
hostnames.status = lib.mkOption {
|
|
||||||
type = lib.types.str;
|
|
||||||
description = "Hostname for status page (Uptime-Kuma).";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
config = lib.mkIf config.services.uptime-kuma.enable {
|
config = lib.mkIf config.services.uptime-kuma.enable {
|
||||||
|
|
||||||
services.uptime-kuma = {
|
services.uptime-kuma = {
|
||||||
|
Loading…
Reference in New Issue
Block a user