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