about summary refs log tree commit diff
path: root/nixos/modules/programs
diff options
context:
space:
mode:
authorWilliButz <WilliButz@users.noreply.github.com>2019-12-14 17:02:33 +0100
committerGitHub <noreply@github.com>2019-12-14 17:02:33 +0100
commit10c5b2d91c0683edb89df0f59450f57af0858fda (patch)
treeffc42abb484f7bd63b64c27e5d859280ad21ee64 /nixos/modules/programs
parent637eacc90a8c53a2fbb13f8f2b3b50a7dcbc4629 (diff)
parentca9788d4de3ba787d670a94948efd1d3ed2977e6 (diff)
downloadnixlib-10c5b2d91c0683edb89df0f59450f57af0858fda.tar
nixlib-10c5b2d91c0683edb89df0f59450f57af0858fda.tar.gz
nixlib-10c5b2d91c0683edb89df0f59450f57af0858fda.tar.bz2
nixlib-10c5b2d91c0683edb89df0f59450f57af0858fda.tar.lz
nixlib-10c5b2d91c0683edb89df0f59450f57af0858fda.tar.xz
nixlib-10c5b2d91c0683edb89df0f59450f57af0858fda.tar.zst
nixlib-10c5b2d91c0683edb89df0f59450f57af0858fda.zip
Merge pull request #75363 from primeos/sway-display-manager-integration
nixos/sway: Enable the display manager integration
Diffstat (limited to 'nixos/modules/programs')
-rw-r--r--nixos/modules/programs/sway.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/nixos/modules/programs/sway.nix b/nixos/modules/programs/sway.nix
index f92d09a7ef44..9a15c7734632 100644
--- a/nixos/modules/programs/sway.nix
+++ b/nixos/modules/programs/sway.nix
@@ -87,6 +87,8 @@ in {
     hardware.opengl.enable = mkDefault true;
     fonts.enableDefaultFonts = mkDefault true;
     programs.dconf.enable = mkDefault true;
+    # To make a Sway session available if a display manager like SDDM is enabled:
+    services.xserver.displayManager.extraSessionFilePackages = [ swayJoined ];
   };
 
   meta.maintainers = with lib.maintainers; [ gnidorah primeos colemickens ];