Nixos: Add hyprlock pam service
This commit is contained in:
@ -113,6 +113,11 @@ with mylib.networking; {
|
||||
protectKernelImage = true;
|
||||
rtkit.enable = true;
|
||||
|
||||
pam.services = {
|
||||
# Allow Hyprlock to unlock the system
|
||||
hyprlock = {};
|
||||
};
|
||||
|
||||
# TODO: Replace with polkit
|
||||
sudo.enable = true;
|
||||
sudo.extraRules = [
|
||||
|
@ -2,11 +2,9 @@
|
||||
# TODO: Need to set permissions through polkit module
|
||||
# TODO: Setup Wireless (IWD/Networkd?)
|
||||
{
|
||||
inputs,
|
||||
config,
|
||||
lib,
|
||||
mylib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
with lib;
|
||||
|
Reference in New Issue
Block a user