hyprland: fixes
This commit is contained in:
parent
1221c4f64c
commit
6a329abe98
@ -76,10 +76,10 @@ in
|
|||||||
|
|
||||||
options.nixfiles.sessions.hyprland = {
|
options.nixfiles.sessions.hyprland = {
|
||||||
enable = lib.mkOption {
|
enable = lib.mkOption {
|
||||||
|
description = "Whether to enable hyprland.";
|
||||||
type = lib.types.bool;
|
type = lib.types.bool;
|
||||||
default = if (builtins.hasAttr "home-manager" osConfig) then osConfig.nixfiles.sessions.hyprland.enable else false;
|
default = if (builtins.hasAttr "home-manager" osConfig) then osConfig.nixfiles.sessions.hyprland.enable else false;
|
||||||
example = true;
|
example = true;
|
||||||
description = "Whether to enable hyprland.";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
autolock = lib.mkOption {
|
autolock = lib.mkOption {
|
||||||
@ -91,8 +91,8 @@ in
|
|||||||
nixfiles.greetd.settings.autolock.
|
nixfiles.greetd.settings.autolock.
|
||||||
'';
|
'';
|
||||||
type = lib.types.bool;
|
type = lib.types.bool;
|
||||||
default = osConfig.nixfiles.greetd.settings.autolock or false;
|
default = osConfig.nixfiles.programs.greetd.settings.autolock or false;
|
||||||
defaultText = "osConfig.nixfiles.greetd.settings.autolock or false";
|
defaultText = "osConfig.nixfiles.programs.greetd.settings.autolock or false";
|
||||||
example = true;
|
example = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user