From aaff1ff63ea6697e72349929e8e75607e31ef98c Mon Sep 17 00:00:00 2001 From: Christoph Urlacher Date: Sun, 13 Oct 2024 13:00:51 +0200 Subject: [PATCH] Nixos: Add hyprlock pam service --- system/default.nix | 5 +++++ system/modules/systemd-networkd/default.nix | 2 -- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/system/default.nix b/system/default.nix index 84e1588d..9fa6cea4 100644 --- a/system/default.nix +++ b/system/default.nix @@ -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 = [ diff --git a/system/modules/systemd-networkd/default.nix b/system/modules/systemd-networkd/default.nix index cb567307..729b5182 100644 --- a/system/modules/systemd-networkd/default.nix +++ b/system/modules/systemd-networkd/default.nix @@ -2,11 +2,9 @@ # TODO: Need to set permissions through polkit module # TODO: Setup Wireless (IWD/Networkd?) { - inputs, config, lib, mylib, - pkgs, ... }: with lib;