Add nut and upsmon

This commit is contained in:
Weckyy702
2026-05-13 17:41:03 +02:00
parent f3724fee3a
commit 007f448fe8
4 changed files with 48 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
{ self
, inputs
, ...
}: {
flake.modules.nixos.keith = { config, ... }: {
age.secrets.upsmon.file = "${inputs.secrets}/upsmon.age";
imports = with self.factory; [
(nut-client {
buggie = {
type = "slave";
passwordFile = config.age.secrets.upsmon.path;
system = "main-ups@buggie.veltnet";
user = "observer";
};
})
];
};
}