home: amneesh: use overlay for standalone home-manager

Signed-off-by: Amneesh Singh <amneesh@ti.com>
This commit is contained in:
Amneesh Singh
2025-10-17 11:54:45 +05:30
parent bf00621b02
commit f4e5628238
4 changed files with 22 additions and 29 deletions

View File

@@ -0,0 +1,13 @@
final: prev:
let
pam = prev.pam.overrideAttrs (oa: {
postPatch = ''
substituteInPlace modules/module-meson.build \
--replace "sbindir / 'unix_chkpwd'" "'/usr/bin/unix_chkpwd'"
'';
});
in
{
hyprlock = prev.hyprlock.override { inherit pam; };
swaylock = prev.swaylock.override { inherit pam; };
}