update bebe url
This commit is contained in:
@@ -4,7 +4,6 @@
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
|
||||
/*
|
||||
this is a wrapper module for glance that allows you to
|
||||
to pass monitor entries in with nix, all declaratively!
|
||||
@@ -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}";
|
||||
|
||||
@@ -84,7 +81,6 @@ in
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
|
||||
# declare ${service} group
|
||||
users.groups.${service} = {
|
||||
gid = lib.mkForce cfg.ids;
|
||||
@@ -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;
|
||||
};
|
||||
};
|
||||
}
|
||||
];
|
||||
@@ -328,12 +336,15 @@ in
|
||||
};
|
||||
|
||||
# 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;
|
||||
}
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user