fix hoem manager config access

This commit is contained in:
RingOfStorms (Joshua Bell) 2025-11-30 00:29:32 -06:00
parent 971d997920
commit 7dfa665b73
7 changed files with 79 additions and 51 deletions

View file

@ -1,6 +1,11 @@
{ config, lib, pkgs, ... }:
{
osConfig,
lib,
pkgs,
...
}:
let
cfg = config.ringofstorms.dePlasma;
cfg = osConfig.ringofstorms.dePlasma;
inherit (lib) mkIf;
delayMs = cfg.monitors.scriptDelayMs;
script = pkgs.writeShellScriptBin "plasma-kscreen-overrides" ''
@ -10,7 +15,7 @@ let
'';
in
{
options = {};
options = { };
config = mkIf (cfg.enable && cfg.monitors.enableOverrides && cfg.monitors.commands != [ ]) {
# Use XDG autostart
xdg.autostart."ringofstorms-kscreen-overrides" = {