mirror of
https://github.com/TheWanderingCrow/CrOS.git
synced 2026-01-11 09:44:08 -05:00
lubelogger
This commit is contained in:
parent
05c621db69
commit
26858e2970
3 changed files with 34 additions and 10 deletions
8
flake.lock
generated
8
flake.lock
generated
|
|
@ -168,11 +168,11 @@
|
|||
},
|
||||
"nix-secrets": {
|
||||
"locked": {
|
||||
"lastModified": 1739805021,
|
||||
"narHash": "sha256-//4V4vE0xMVuXkz8TO4Pwkw25+BDNE+NbX9aIOTwqqI=",
|
||||
"lastModified": 1739808207,
|
||||
"narHash": "sha256-zIUNDAM1bpto8VYWF9y+4KLxWZlEiFnUynjofbQX6vI=",
|
||||
"ref": "refs/heads/master",
|
||||
"rev": "bbde0e2da04a1b37a814fe9f11772797fdbf5e7e",
|
||||
"revCount": 47,
|
||||
"rev": "5794fabd27b350f7787b666b255acdffdc8aef6f",
|
||||
"revCount": 48,
|
||||
"type": "git",
|
||||
"url": "ssh://git@github.com/TheWanderingCrow/nix-secrets"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -6,11 +6,17 @@
|
|||
lib.mkIf config.user.overseer.enable {
|
||||
# Homepage.dev secrets
|
||||
sops = {
|
||||
secrets."homepage/openmeteo/lat" = {};
|
||||
secrets."homepage/openmeteo/long" = {};
|
||||
secrets = {
|
||||
"homepage/openmeteo/lat" = {};
|
||||
"homepage/openmeteo/long" = {};
|
||||
"lubelogger/user" = {};
|
||||
"lubelogger/pass" = {};
|
||||
};
|
||||
templates."homepage-environment".content = ''
|
||||
HOMEPAGE_VAR_LAT = ${config.sops.placeholder."homepage/openmeteo/lat"}
|
||||
HOMEPAGE_VAR_LONG = ${config.sops.placeholder."homepage/openmeteo/long"}
|
||||
HOMEPAGE_VAR_LUBELOGGERUSER = ${config.sops.placeholder."lubelogger/user"}
|
||||
HOMEPAGE_VAR_LUBELOGGERPASS = ${config.sops.placeholder."lubelogger/pass"}
|
||||
'';
|
||||
};
|
||||
|
||||
|
|
@ -42,6 +48,24 @@ lib.mkIf config.user.overseer.enable {
|
|||
settings = {
|
||||
theme = "dark";
|
||||
};
|
||||
services = [
|
||||
{
|
||||
"Services" = [
|
||||
{
|
||||
"Garage" = {
|
||||
href = "https://garage.wanderingcrow.net";
|
||||
description = "Vehicle management";
|
||||
widget = {
|
||||
type = "lubelogger";
|
||||
url = "https://garage.wanderingcrow.net";
|
||||
username = "{{HOMEPAGE_VAR_LUBELOGGERUSER}}";
|
||||
password = "{{HOMEPAGE_VAR_LUBELOGGERPASS}}";
|
||||
};
|
||||
};
|
||||
}
|
||||
];
|
||||
}
|
||||
];
|
||||
widgets = [
|
||||
{
|
||||
search = {
|
||||
|
|
|
|||
|
|
@ -18,8 +18,8 @@ in
|
|||
|
||||
sops = {
|
||||
secrets = {
|
||||
"lubelogger/user" = {};
|
||||
"lubelogger/pass" = {};
|
||||
"lubelogger/user_hash" = {};
|
||||
"lubelogger/pass_hash" = {};
|
||||
};
|
||||
templates."lubelogger-env".content = ''
|
||||
LC_ALL=en_US.UTF-8
|
||||
|
|
@ -29,8 +29,8 @@ in
|
|||
MailConfig__Port=587
|
||||
MailConfig__Username=""
|
||||
MailConfig__Password=""
|
||||
UserNameHash="${config.sops.placeholder."lubelogger/user"}"
|
||||
UserPasswordHash="${config.sops.placeholder."lubelogger/pass"}"
|
||||
UserNameHash="${config.sops.placeholder."lubelogger/user_hash"}"
|
||||
UserPasswordHash="${config.sops.placeholder."lubelogger/pass_hash"}"
|
||||
LUBELOGGER_CUSTOM_WIDGETS=true
|
||||
'';
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue