diff options
author | Soispha <soispha@vhack.eu> | 2023-04-12 12:16:36 +0200 |
---|---|---|
committer | Soispha <soispha@vhack.eu> | 2023-05-09 19:30:27 +0200 |
commit | a0b6affc94c74da2ae5d7fedc274b36d05131ace (patch) | |
tree | 8604a77a51e23f47a3e0f0cefc26ae43c8aa1437 | |
parent | Fix(hm/conf/alacritty): Make path regex better (diff) | |
download | nixos-config-a0b6affc94c74da2ae5d7fedc274b36d05131ace.tar.gz nixos-config-a0b6affc94c74da2ae5d7fedc274b36d05131ace.zip |
Fix(hm/conf/swaylock): Pam permission issue
-rw-r--r-- | home-manager/packages/default.nix | 1 | ||||
-rw-r--r-- | system/services/default.nix | 1 | ||||
-rw-r--r-- | system/services/swaylock/default.nix | 5 |
3 files changed, 7 insertions, 0 deletions
diff --git a/home-manager/packages/default.nix b/home-manager/packages/default.nix index f372453a..afeb771f 100644 --- a/home-manager/packages/default.nix +++ b/home-manager/packages/default.nix @@ -59,6 +59,7 @@ with pkgs; let CLITools = [ lswt # List Wayland toplevels wl-clipboard # Command-line copy/paste utilities + swaylock # lockscreen ]; Media = [ diff --git a/system/services/default.nix b/system/services/default.nix index 2365fde5..cb5616d0 100644 --- a/system/services/default.nix +++ b/system/services/default.nix @@ -7,5 +7,6 @@ ./dconf ./openssh ./backup + ./swaylock ]; } diff --git a/system/services/swaylock/default.nix b/system/services/swaylock/default.nix new file mode 100644 index 00000000..1d652c66 --- /dev/null +++ b/system/services/swaylock/default.nix @@ -0,0 +1,5 @@ +# vim: ts=2 +{...}: { + # otherwise swaylock can't access the user password. + security.pam.services.swaylock = {}; +} |