From ab11f72a6b0783f383d3d7627a6a738c5c3c0e85 Mon Sep 17 00:00:00 2001 From: James Patrick Date: Sun, 28 Nov 2021 22:16:54 -0500 Subject: [PATCH] Requires the nixos package to be installed. I'm guessing that this stems from needing lower level access for setting up the wayland backend. This was already in the vague grey area where it could be said to live in userland or system land so I'm leaving this here. --- modules/sway.nix | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/modules/sway.nix b/modules/sway.nix index c0e0910..a336283 100644 --- a/modules/sway.nix +++ b/modules/sway.nix @@ -1,9 +1,10 @@ { config, lib, pkgs, ... }: { + programs.sway = { + enable = true; + wrapperFeatures.gtk = true; # so that gtk works properly + }; + home-manager.users.james = { - wayland.windowManager.sway = { - enable = true; - wrapperFeatures.gtk = true; - }; home.packages = with pkgs; [ autotiling