diff --git a/modules/home/wayland/apps/kanshi/default.nix b/modules/home/wayland/apps/kanshi/default.nix index ac805b5..e9df5a3 100644 --- a/modules/home/wayland/apps/kanshi/default.nix +++ b/modules/home/wayland/apps/kanshi/default.nix @@ -1,5 +1,6 @@ { ... }: { + config = lib.mkIf (config.usercfg.wm == "Wayland") { services.kanshi = { enable = true; systemdTarget = "graphical-session.target"; @@ -90,4 +91,5 @@ }; }; }; +}; } diff --git a/modules/shared/syscfg/default.nix b/modules/shared/syscfg/default.nix index 3f82b3a..1f9721d 100644 --- a/modules/shared/syscfg/default.nix +++ b/modules/shared/syscfg/default.nix @@ -3,7 +3,7 @@ let userOpt = with lib; { username = mkOption { type = types.str; }; wm = mkOption { - type = types.enum [ "Wayland" "X11" ]; + type = types.enum [ "Wayland" "X11" "-"]; default = "Wayland"; }; git = { diff --git a/systems/iriy/cfg.nix b/systems/iriy/cfg.nix index 5f3f52c..7c968a4 100644 --- a/systems/iriy/cfg.nix +++ b/systems/iriy/cfg.nix @@ -2,6 +2,7 @@ syscfg = { hostname = "iriy"; defaultUser = "sora"; + wm = "-"; users = [{ username = "sora"; git = {