305 current 2025-10-11 16:58:36 25.05.20251006.20c4598 6.12.50 *
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
# flake for blakes nixos config
|
# flake for blakes nixos config
|
||||||
# define new devices in outputs
|
# define new devices in outputs
|
||||||
# generation: 304 current 2025-10-11 16:50:34 25.05.20251006.20c4598 6.12.50 *
|
# generation: 305 current 2025-10-11 16:58:36 25.05.20251006.20c4598 6.12.50 *
|
||||||
{
|
{
|
||||||
description = "blakes nix config";
|
description = "blakes nix config";
|
||||||
inputs = {
|
inputs = {
|
||||||
|
|||||||
@@ -83,6 +83,15 @@ in
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# add to glance
|
||||||
|
modules.services.glance.links.mediastack = [{
|
||||||
|
title = service;
|
||||||
|
url = "https://${cfg.url}";
|
||||||
|
error-url = "http://${homelab.host_ip}:${toString cfg.port}";
|
||||||
|
check-url = "http://${homelab.host_ip}:${toString cfg.port}";
|
||||||
|
icon = "di:${service}";
|
||||||
|
allow-insecure = false; }];
|
||||||
|
|
||||||
# add to backups
|
# add to backups
|
||||||
modules.system.backups.baks = {
|
modules.system.backups.baks = {
|
||||||
${service} = { paths = [ cfg.data_dir ]; };
|
${service} = { paths = [ cfg.data_dir ]; };
|
||||||
|
|||||||
@@ -1,5 +1,21 @@
|
|||||||
{ pkgs, config, lib, ... }:
|
{ pkgs, config, lib, ... }:
|
||||||
|
|
||||||
|
/*
|
||||||
|
this is a wrapper module for glance that allows you to
|
||||||
|
to pass monitor entries in with nix, all declaratively!
|
||||||
|
|
||||||
|
| <8yy> |
|
||||||
|
V V
|
||||||
|
# add to glance
|
||||||
|
modules.services.glance.links.mediastack = [{
|
||||||
|
title = service;
|
||||||
|
url = "https://${cfg.url}";
|
||||||
|
error-url = "http://${homelab.host_ip}:${toString cfg.port}";
|
||||||
|
check-url = "http://${homelab.host_ip}:${toString cfg.port}";
|
||||||
|
icon = "di:${service}";
|
||||||
|
allow-insecure = true; }];
|
||||||
|
*/
|
||||||
|
|
||||||
let
|
let
|
||||||
service = "glance";
|
service = "glance";
|
||||||
cfg = config.modules.services.${service};
|
cfg = config.modules.services.${service};
|
||||||
|
|||||||
Reference in New Issue
Block a user