From ce64b0ca1bb3552c29f92c29e1ba49481464f7a2 Mon Sep 17 00:00:00 2001 From: alejandro-angulo Date: Sat, 3 Aug 2024 10:02:02 -0700 Subject: [PATCH] Fixed sway not starting on laptop --- modules/nixos/suites/desktop/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/nixos/suites/desktop/default.nix b/modules/nixos/suites/desktop/default.nix index 07e554a..9710f78 100644 --- a/modules/nixos/suites/desktop/default.nix +++ b/modules/nixos/suites/desktop/default.nix @@ -20,5 +20,8 @@ in { # Workaround for https://github.com/NixOS/nixpkgs/issues/158025 # This comment specifically: https://github.com/NixOS/nixpkgs/issues/158025#issuecomment-1344766809 security.pam.services.swaylock = {}; + + # Required for GUIs (like sway) to work correctly. + hardware.graphics.enable = true; }; }