summaryrefslogtreecommitdiffstats
path: root/nixos/modules/programs/sway.nix
diff options
context:
space:
mode:
authorgnidorah <gnidorah@users.noreply.github.com>2017-12-21 20:16:19 +0400
committerzimbatm <zimbatm@zimbatm.com>2017-12-21 16:16:19 +0000
commitb9851a975e8255f8799aed3f4efaa399e19ea733 (patch)
treed9f53a0bcca76261cf0ffccdd03125e096c7c5a3 /nixos/modules/programs/sway.nix
parent9e119825f3513e84a22b97e50343c0bc323d11eb (diff)
Make less known wayland compositors usable (#32285)
* bemenu: init at 2017-02-14 * velox: 2015-11-03 -> 2017-07-04 * orbment, velox: don't expose subprojects the development of orbment and velox got stuck their subprojects (bemenu, dmenu-wayland, st-wayland) don't work correctly outside of parent projects so hide them to not confuse people swc and wld libraries are unpopular and unlike wlc are not used by anything except velox * pythonPackages.pydbus: init at 0.6.0 * way-cooler: 0.5.2 -> 0.6.2 * nixos/way-cooler: add module * dconf module: use for wayland non-invasive approach for #31293 see discussion at #32210 * sway: embed LD_LIBRARY_PATH for #32755 * way-cooler: switch from buildRustPackage to buildRustCrate #31150
Diffstat (limited to 'nixos/modules/programs/sway.nix')
-rw-r--r--nixos/modules/programs/sway.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/nixos/modules/programs/sway.nix b/nixos/modules/programs/sway.nix
index 5d13b90daace..98257846d02f 100644
--- a/nixos/modules/programs/sway.nix
+++ b/nixos/modules/programs/sway.nix
@@ -6,8 +6,7 @@ let
cfg = config.programs.sway;
sway = pkgs.sway;
- swayWrapped = pkgs.writeScriptBin "sway" ''
- #! ${pkgs.stdenv.shell}
+ swayWrapped = pkgs.writeShellScriptBin "sway" ''
if [ "$1" != "" ]; then
sway-setcap "$@"
exit
@@ -65,8 +64,10 @@ in
};
users.extraGroups.sway = {};
+ security.pam.services.swaylock = {};
hardware.opengl.enable = mkDefault true;
fonts.enableDefaultFonts = mkDefault true;
+ programs.dconf.enable = mkDefault true;
};
}