From 7904c8f3c83ab2153004f79bd83ee0fe17c39974 Mon Sep 17 00:00:00 2001 From: "Casper V. Kristensen" Date: Tue, 1 Aug 2023 16:49:22 +0200 Subject: [PATCH] Make sway work --- modules/desktop/sway.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/modules/desktop/sway.nix b/modules/desktop/sway.nix index 345703d..7cc57d2 100644 --- a/modules/desktop/sway.nix +++ b/modules/desktop/sway.nix @@ -48,4 +48,11 @@ # Allow sharing screen #xdg.portal.wlr.enable = true; + + security.polkit.enable = true; + + hardware.opengl = { + enable = true; + extraPackages = with pkgs; [intel-media-driver ]; + }; }