update bebe url
This commit is contained in:
@@ -4,7 +4,6 @@
|
|||||||
lib,
|
lib,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
|
|
||||||
/*
|
/*
|
||||||
this is a wrapper module for glance that allows you to
|
this is a wrapper module for glance that allows you to
|
||||||
to pass monitor entries in with nix, all declaratively!
|
to pass monitor entries in with nix, all declaratively!
|
||||||
@@ -20,7 +19,6 @@
|
|||||||
icon = "di:${service}";
|
icon = "di:${service}";
|
||||||
allow-insecure = true; }];
|
allow-insecure = true; }];
|
||||||
*/
|
*/
|
||||||
|
|
||||||
let
|
let
|
||||||
service = "glance";
|
service = "glance";
|
||||||
cfg = config.homelab.${service};
|
cfg = config.homelab.${service};
|
||||||
@@ -29,8 +27,7 @@ let
|
|||||||
|
|
||||||
uptimekuma_url = "localhost:7901";
|
uptimekuma_url = "localhost:7901";
|
||||||
uptimekuma_page = "glance";
|
uptimekuma_page = "glance";
|
||||||
in
|
in {
|
||||||
{
|
|
||||||
options.homelab.${service} = {
|
options.homelab.${service} = {
|
||||||
enable = lib.mkEnableOption "enables ${service}";
|
enable = lib.mkEnableOption "enables ${service}";
|
||||||
|
|
||||||
@@ -84,7 +81,6 @@ in
|
|||||||
};
|
};
|
||||||
|
|
||||||
config = lib.mkIf cfg.enable {
|
config = lib.mkIf cfg.enable {
|
||||||
|
|
||||||
# declare ${service} group
|
# declare ${service} group
|
||||||
users.groups.${service} = {
|
users.groups.${service} = {
|
||||||
gid = lib.mkForce cfg.ids;
|
gid = lib.mkForce cfg.ids;
|
||||||
@@ -144,10 +140,22 @@ in
|
|||||||
name = config.networking.hostName;
|
name = config.networking.hostName;
|
||||||
hide-mountpoints-by-default = true;
|
hide-mountpoints-by-default = true;
|
||||||
mountpoints = {
|
mountpoints = {
|
||||||
"/" = {name = "root"; hide = false;};
|
"/" = {
|
||||||
"/holocron" = {name = "holocron"; hide = false;};
|
name = "root";
|
||||||
"/holocron/media" = {name = "media"; hide = false;};
|
hide = false;
|
||||||
"/holocron/vault" = {name = "vault"; hide = false;};
|
};
|
||||||
|
"/holocron" = {
|
||||||
|
name = "holocron";
|
||||||
|
hide = false;
|
||||||
|
};
|
||||||
|
"/holocron/media" = {
|
||||||
|
name = "media";
|
||||||
|
hide = false;
|
||||||
|
};
|
||||||
|
"/holocron/vault" = {
|
||||||
|
name = "vault";
|
||||||
|
hide = false;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
@@ -328,12 +336,15 @@ in
|
|||||||
};
|
};
|
||||||
|
|
||||||
# add to udr to glance
|
# add to udr to glance
|
||||||
homelab.glance.links.system = [{
|
homelab.glance.links.system = [
|
||||||
|
{
|
||||||
title = "bebe";
|
title = "bebe";
|
||||||
url = "https://bebe.lan";
|
url = "https://bebe.blakedheld.xyz";
|
||||||
error-url = "https://10.10.0.1";
|
error-url = "https://10.10.0.1";
|
||||||
check-url = "https://10.10.0.1";
|
check-url = "https://10.10.0.1";
|
||||||
icon = "di:unifi";
|
icon = "di:unifi";
|
||||||
allow-insecure = true; }];
|
allow-insecure = true;
|
||||||
|
}
|
||||||
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user