Option: added active desktop option which allows kde to be primary desktop environment.

This commit is contained in:
Jurn Wubben 2025-07-09 19:48:10 +02:00
parent d233e18593
commit f622009e87
17 changed files with 82 additions and 60 deletions

View file

@ -5,7 +5,7 @@
...
}: let
inherit (lib) mkIf;
cfg = osConfig.niksos.desktop.hyprland;
cfg = osConfig.programs.hyprland.enable;
in {
imports = [
./fuzzel.nix

View file

@ -5,7 +5,7 @@
...
}: {
programs.fuzzel = {
enable = osConfig.niksos.desktop.hyprland;
inherit (osConfig.programs.hyprland) enable;
settings.main = {
launch-prefix = "${lib.getExe pkgs.uwsm} app --";
};

View file

@ -15,7 +15,7 @@ in {
];
wayland.windowManager.hyprland = {
enable = osConfig.niksos.desktop.hyprland;
inherit (osConfig.programs.hyprland) enable;
settings = {
env = [
"QT_WAYLAND_DISABLE_WINDOWDECORATION,1"

View file

@ -6,7 +6,7 @@
inherit (config.lib.stylix.colors) base05;
in {
programs.hyprlock = {
enable = osConfig.niksos.desktop.hyprland;
inherit (osConfig.programs.hyprland) enable;
settings = {
general = {

View file

@ -1,6 +1,8 @@
{osConfig, ...}: {
{osConfig, ...}: let
inherit (osConfig.niksos) desktop;
in {
services.mako = {
enable = osConfig.niksos.desktop.hyprland;
inherit (osConfig.programs.hyprland) enable;
settings.defaultTimeout = 5000;
};
}