forked from poz/niksos
add extraSettings to the hyprland wrapper module
This commit is contained in:
parent
5649089667
commit
cbc909f2e7
1 changed files with 6 additions and 1 deletions
|
@ -29,6 +29,11 @@ in {
|
||||||
description = "enable tearing";
|
description = "enable tearing";
|
||||||
default = false;
|
default = false;
|
||||||
};
|
};
|
||||||
|
extraSettings = mkOption {
|
||||||
|
type = types.attrs;
|
||||||
|
description = "extra per host hyprland settings";
|
||||||
|
default = {};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
disabledModules = [ "programs/hyprland.nix" ];
|
disabledModules = [ "programs/hyprland.nix" ];
|
||||||
|
@ -477,7 +482,7 @@ in {
|
||||||
keep_focused = true;
|
keep_focused = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
} // cfg.extraSettings;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue