about summary refs log tree commit diff
path: root/modules/nixos/xmonad.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/nixos/xmonad.nix')
-rw-r--r--modules/nixos/xmonad.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/nixos/xmonad.nix b/modules/nixos/xmonad.nix
index c5fedc2..b4eb4a0 100644
--- a/modules/nixos/xmonad.nix
+++ b/modules/nixos/xmonad.nix
@@ -18,7 +18,7 @@ in {
 
         scriptPath = ".xinitrc";
 
-        windowManager.command = "${pkgs.xmonad-ng}/bin/xmonad-ng";
+        windowManager.command = getExe' pkgs.xmonad-ng "xmonad-ng";
       };
     };
 

Consider giving Nix/NixOS a try! <3