refactor(homeModules/desktop): rm option declarations

This commit is contained in:
Mohammad Rafiq 2025-05-21 09:52:57 +08:00
parent ccdd8d19d9
commit aa9a28fa1c
No known key found for this signature in database
9 changed files with 16 additions and 32 deletions

View file

@ -1,11 +1,11 @@
{
config,
osConfig,
lib,
...
}:
{
config = lib.mkMerge [
(lib.mkIf (config.desktop.lockscreen == "hyprlock") {
(lib.mkIf (osConfig.desktop.lockscreen == "hyprlock") {
home.sessionVariables.LOCKSCREEN = "hyprlock";
programs.hyprlock = {
enable = true;