Commit ad4788d

HPCesia <me@hpcesia.com>
2025-12-24 08:11:50
feat: revert to use app2unit
See https://github.com/YaLTeR/niri/issues/2463
1 parent 42f3ee6
Changed files (1)
modules
desktop
desktop-environment
discrete
shell
noctalia
modules/desktop/desktop-environment/discrete/shell/noctalia/default.nix
@@ -1,8 +1,4 @@
-{
-  inputs,
-  lib,
-  ...
-}: {
+{inputs, ...}: {
   flake.modules.nixos.de-shell-noctalia = {...}: {
     imports = [inputs.noctalia.nixosModules.default];
 
@@ -11,11 +7,7 @@
     };
   };
 
-  flake.modules.homeManager.de-shell-noctalia = {
-    config,
-    osConfig,
-    ...
-  }: {
+  flake.modules.homeManager.de-shell-noctalia = {config, ...}: {
     imports = [inputs.noctalia.homeModules.default];
 
     programs.noctalia-shell = {
@@ -37,10 +29,8 @@
         appLauncher = {
           backgroundOpacity = config.stylix.opacity.popups;
           enableClipboardHistory = config.services.cliphist.enable;
-          useApp2Unit = lib.mkIf (!osConfig.programs.niri.enable or true) true;
+          useApp2Unit = true;
           terminalCommand = "ghostty -e";
-          customLaunchPrefixEnabled = lib.mkIf (osConfig.programs.niri.enable or false) true;
-          customLaunchPrefix = lib.mkIf (osConfig.programs.niri.enable or false) "niri msg action spawn --";
         };
         notifications = {
           lowUrgencyDuration = 3;