Add swaylock
This commit is contained in:
		
							parent
							
								
									2d79317ef4
								
							
						
					
					
						commit
						902e1a92da
					
				
					 1 changed files with 13 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -36,6 +36,8 @@ in {
 | 
			
		|||
      ];
 | 
			
		||||
    };
 | 
			
		||||
 | 
			
		||||
    security.pam.services.swaylock = {};
 | 
			
		||||
 | 
			
		||||
    home-manager.users.${config.main-user} = {
 | 
			
		||||
      imports = [ hyprland.homeManagerModules.default ];
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -50,6 +52,17 @@ in {
 | 
			
		|||
        wf-recorder
 | 
			
		||||
      ];
 | 
			
		||||
 | 
			
		||||
      programs.swaylock = {
 | 
			
		||||
        enable = true;
 | 
			
		||||
        settings = {
 | 
			
		||||
          color = "000000";
 | 
			
		||||
          font-size = 14;
 | 
			
		||||
          ignore-empty-password = true;
 | 
			
		||||
          show-failed-attempts = true;
 | 
			
		||||
          image = "${./wallpaper.png}";
 | 
			
		||||
        };
 | 
			
		||||
      };
 | 
			
		||||
 | 
			
		||||
      wayland.windowManager.hyprland = {
 | 
			
		||||
        enable = true;
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue