diff --git a/shared/core/gui.nix b/shared/core/gui.nix index 100cb52..2ba90e5 100644 --- a/shared/core/gui.nix +++ b/shared/core/gui.nix @@ -16,6 +16,8 @@ in { security.rtkit.enable = true; + security.pam.services.waylock = {}; + services.xserver = { enable = true; displayManager.gdm.enable = true; diff --git a/shared/home/gui/sway.nix b/shared/home/gui/sway.nix index e470280..995d172 100644 --- a/shared/home/gui/sway.nix +++ b/shared/home/gui/sway.nix @@ -37,7 +37,7 @@ in with lib; { home.packages = with pkgs; [ kitty - swaylock + waylock wl-clipboard sc (writeScriptBin "c" '' @@ -98,7 +98,7 @@ in with lib; { "${mod}+q" = "exec ${pkgs.foot}/bin/foot"; "${mod}+Return" = "exec ${terminal}"; - "${mod}+Escape" = "exec swaylock"; + "${mod}+Escape" = "exec waylock"; "${mod}+Tab" = "exec ${pkgs.firefox-wayland}/bin/firefox"; "${mod}+Alt+Tab" = "exec ${pkgs.google-chrome}/bin/google-chrome-stable --ozone-platform-hint=auto --enable-features=VaapiVideoDecoder,VaapiVideoEncoder";