Add numlockx to turn on numlock at startup.
This commit is contained in:
		
							parent
							
								
									43c8addfde
								
							
						
					
					
						commit
						ab6eaf2894
					
				| 
						 | 
				
			
			@ -25,6 +25,7 @@
 | 
			
		|||
      mpv
 | 
			
		||||
      nodejs
 | 
			
		||||
      nodePackages.pnpm
 | 
			
		||||
      numlockx
 | 
			
		||||
      nvitop
 | 
			
		||||
      osu-lazer
 | 
			
		||||
      pavucontrol
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -35,11 +35,19 @@
 | 
			
		|||
 | 
			
		||||
    xserver = {
 | 
			
		||||
      desktopManager.xfce.enable = true;
 | 
			
		||||
      displayManager.lightdm.enable = true;
 | 
			
		||||
      enable = true;
 | 
			
		||||
      layout = "be";
 | 
			
		||||
      videoDrivers = [ "nvidia" ];
 | 
			
		||||
      xkbVariant = "";
 | 
			
		||||
 | 
			
		||||
      displayManager = {
 | 
			
		||||
        lightdm = {
 | 
			
		||||
          enable = true;
 | 
			
		||||
          extraSeatDefaults = ''
 | 
			
		||||
            greeter-setup-script=${pkgs.numlockx}/bin/numlockx on
 | 
			
		||||
          '';
 | 
			
		||||
        };
 | 
			
		||||
      };
 | 
			
		||||
    };
 | 
			
		||||
  };
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Reference in New Issue