Switch to more secure-ish waylock
This commit is contained in:
parent
f9e7d0a039
commit
255d76da31
2 changed files with 4 additions and 2 deletions
|
@ -16,6 +16,8 @@ in {
|
||||||
|
|
||||||
security.rtkit.enable = true;
|
security.rtkit.enable = true;
|
||||||
|
|
||||||
|
security.pam.services.waylock = {};
|
||||||
|
|
||||||
services.xserver = {
|
services.xserver = {
|
||||||
enable = true;
|
enable = true;
|
||||||
displayManager.gdm.enable = true;
|
displayManager.gdm.enable = true;
|
||||||
|
|
|
@ -37,7 +37,7 @@ in with lib; {
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
kitty
|
kitty
|
||||||
swaylock
|
waylock
|
||||||
wl-clipboard
|
wl-clipboard
|
||||||
sc
|
sc
|
||||||
(writeScriptBin "c" ''
|
(writeScriptBin "c" ''
|
||||||
|
@ -98,7 +98,7 @@ in with lib; {
|
||||||
|
|
||||||
"${mod}+q" = "exec ${pkgs.foot}/bin/foot";
|
"${mod}+q" = "exec ${pkgs.foot}/bin/foot";
|
||||||
"${mod}+Return" = "exec ${terminal}";
|
"${mod}+Return" = "exec ${terminal}";
|
||||||
"${mod}+Escape" = "exec swaylock";
|
"${mod}+Escape" = "exec waylock";
|
||||||
"${mod}+Tab" = "exec ${pkgs.firefox-wayland}/bin/firefox";
|
"${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";
|
"${mod}+Alt+Tab" = "exec ${pkgs.google-chrome}/bin/google-chrome-stable --ozone-platform-hint=auto --enable-features=VaapiVideoDecoder,VaapiVideoEncoder";
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue