home: amneesh: add hypridle, hyprlock and hyprpaper
override pam for unix_chkpwd Signed-off-by: Amneesh Singh <amneesh@ti.com>
This commit is contained in:
		@@ -17,6 +17,7 @@
 | 
				
			|||||||
    ./pkgs.nix
 | 
					    ./pkgs.nix
 | 
				
			||||||
    ./nixgl.nix
 | 
					    ./nixgl.nix
 | 
				
			||||||
    # wayland
 | 
					    # wayland
 | 
				
			||||||
 | 
					    ./hyprlock.nix
 | 
				
			||||||
    ./wayvnc.nix
 | 
					    ./wayvnc.nix
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    # From personal
 | 
					    # From personal
 | 
				
			||||||
@@ -28,6 +29,9 @@
 | 
				
			|||||||
    ../natto/cursor.nix
 | 
					    ../natto/cursor.nix
 | 
				
			||||||
    # wayland
 | 
					    # wayland
 | 
				
			||||||
    ../natto/wayland.nix
 | 
					    ../natto/wayland.nix
 | 
				
			||||||
 | 
					    ../natto/hypridle.nix
 | 
				
			||||||
 | 
					    ../natto/hyprlock.nix
 | 
				
			||||||
 | 
					    ../natto/hyprpaper.nix
 | 
				
			||||||
    ../natto/hyprland.nix
 | 
					    ../natto/hyprland.nix
 | 
				
			||||||
    ../natto/tofi.nix
 | 
					    ../natto/tofi.nix
 | 
				
			||||||
    ../natto/foot.nix
 | 
					    ../natto/foot.nix
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										17
									
								
								home/amneesh/hyprlock.nix
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										17
									
								
								home/amneesh/hyprlock.nix
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,17 @@
 | 
				
			|||||||
 | 
					{
 | 
				
			||||||
 | 
					  lib,
 | 
				
			||||||
 | 
					  pkgs,
 | 
				
			||||||
 | 
					  ...
 | 
				
			||||||
 | 
					}:
 | 
				
			||||||
 | 
					let
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  standalonePam = pkgs.linux-pam.overrideAttrs (oa: {
 | 
				
			||||||
 | 
					    postPatch = ''
 | 
				
			||||||
 | 
					      substituteInPlace modules/module-meson.build \
 | 
				
			||||||
 | 
					        --replace "sbindir / 'unix_chkpwd'" "'/usr/bin/unix_chkpwd'"
 | 
				
			||||||
 | 
					    '';
 | 
				
			||||||
 | 
					  });
 | 
				
			||||||
 | 
					in
 | 
				
			||||||
 | 
					{
 | 
				
			||||||
 | 
					  programs.hyprlock.package = lib.mkForce (pkgs.hyprlock.override { pam = standalonePam; });
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
		Reference in New Issue
	
	Block a user