homemanager: fix passthrough of options

This commit is contained in:
Christoph Hollizeck 2024-11-24 00:00:03 +01:00
parent c37f1e7ac8
commit 1957b47664
Signed by: Daholli
GPG key ID: 249300664F2AF2C7
7 changed files with 18 additions and 49 deletions

View file

@ -7,10 +7,7 @@
}:
let
inherit (lib) mkIf mkEnableOption;
cfg = config.${namespace}.desktop.addons.hypridle;
username = config.${namespace}.user.name;
in
{
options.${namespace}.desktop.addons.hypridle = {
@ -18,7 +15,7 @@ in
};
config = mkIf cfg.enable {
snowfallorg.users.${username}.home.config = {
${namespace}.home.extraOptions = {
services.hypridle = {
enable = true;
settings = {