update bebe url

This commit is contained in:
2026-05-13 17:22:02 -05:00
parent e7323bd7d6
commit 16c9b425c1
+30 -19
View File
@@ -4,10 +4,9 @@
lib,
...
}:
/*
this is a wrapper module for glance that allows you to
to pass monitor entries in with nix, all declaratively!
this is a wrapper module for glance that allows you to
to pass monitor entries in with nix, all declaratively!
| <8yy> |
V V
@@ -20,7 +19,6 @@
icon = "di:${service}";
allow-insecure = true; }];
*/
let
service = "glance";
cfg = config.homelab.${service};
@@ -29,8 +27,7 @@ let
uptimekuma_url = "localhost:7901";
uptimekuma_page = "glance";
in
{
in {
options.homelab.${service} = {
enable = lib.mkEnableOption "enables ${service}";
@@ -67,24 +64,23 @@ in
links = {
services = lib.mkOption {
type = lib.types.listOf lib.types.attrs;
default = [ ];
default = [];
description = "list of links for ${service}";
};
mediastack = lib.mkOption {
type = lib.types.listOf lib.types.attrs;
default = [ ];
default = [];
description = "list of links for ${service}";
};
system = lib.mkOption {
type = lib.types.listOf lib.types.attrs;
default = [ ];
default = [];
description = "list of links for ${service}";
};
};
};
config = lib.mkIf cfg.enable {
# declare ${service} group
users.groups.${service} = {
gid = lib.mkForce cfg.ids;
@@ -98,7 +94,7 @@ in
home = cfg.data_dir;
createHome = true;
group = service;
extraGroups = [ ];
extraGroups = [];
};
services.${service} = {
@@ -144,10 +140,22 @@ in
name = config.networking.hostName;
hide-mountpoints-by-default = true;
mountpoints = {
"/" = {name = "root"; hide = false;};
"/holocron" = {name = "holocron"; hide = false;};
"/holocron/media" = {name = "media"; hide = false;};
"/holocron/vault" = {name = "vault"; hide = false;};
"/" = {
name = "root";
hide = false;
};
"/holocron" = {
name = "holocron";
hide = false;
};
"/holocron/media" = {
name = "media";
hide = false;
};
"/holocron/vault" = {
name = "vault";
hide = false;
};
};
}
];
@@ -323,17 +331,20 @@ in
# add to backups
homelab.backups.baks = {
${service} = {
paths = [ cfg.data_dir "/var/lib/private" ];
paths = [cfg.data_dir "/var/lib/private"];
};
};
# add to udr to glance
homelab.glance.links.system = [{
homelab.glance.links.system = [
{
title = "bebe";
url = "https://bebe.lan";
url = "https://bebe.blakedheld.xyz";
error-url = "https://10.10.0.1";
check-url = "https://10.10.0.1";
icon = "di:unifi";
allow-insecure = true; }];
allow-insecure = true;
}
];
};
}