1

Nixos: Add hyprlock pam service

This commit is contained in:
2024-10-13 13:00:51 +02:00
parent 0c1989a6b6
commit aaff1ff63e
2 changed files with 5 additions and 2 deletions

View File

@ -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 = [

View File

@ -2,11 +2,9 @@
# TODO: Need to set permissions through polkit module
# TODO: Setup Wireless (IWD/Networkd?)
{
inputs,
config,
lib,
mylib,
pkgs,
...
}:
with lib;