fix(swaylock): isolate from sway
This commit is contained in:
parent
c4f60385d4
commit
278bae388b
4 changed files with 32 additions and 21 deletions
8
home/swaylock/nixos.nix
Normal file
8
home/swaylock/nixos.nix
Normal file
|
@ -0,0 +1,8 @@
|
|||
{ pkgs
|
||||
, lib
|
||||
, config
|
||||
, ... }: with lib; let
|
||||
gui = with config.global.gpu; enable && session;
|
||||
in mkIf gui {
|
||||
security.pam.services.swaylock = { };
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue