aboutsummaryrefslogtreecommitdiff
path: root/home/wm/sway/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'home/wm/sway/default.nix')
-rw-r--r--home/wm/sway/default.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/home/wm/sway/default.nix b/home/wm/sway/default.nix
index ba70992..d3b758d 100644
--- a/home/wm/sway/default.nix
+++ b/home/wm/sway/default.nix
@@ -3,7 +3,8 @@ let
isEnabled = config.my.home.wm.windowManager == "sway";
terminal = config.my.home.terminal.program;
modifier = "Mod4"; # `Super` key
-in {
+in
+{
config = lib.mkIf isEnabled {
home.packages = with pkgs; [
wlogout