home: amneesh: use overlay for standalone home-manager
Signed-off-by: Amneesh Singh <amneesh@ti.com>
This commit is contained in:
		
							
								
								
									
										13
									
								
								home/overlays/standalone.nix
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								home/overlays/standalone.nix
									
									
									
									
									
										Normal 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; };
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user