* Satisfy new assert that the corresponding shell needs to be enabled via programs.* if it is as the login shell of at least one user. * //users/tazjin: “Address” removal of hardware.video.hidpi option. * //3p/gerrit: update fetch sha256 Change-Id: Id0988a0ea7f393d6b7848a7104fc3526ee1177f4 Reviewed-on: https://cl.tvl.fyi/c/depot/+/8407 Autosubmit: sterni <sternenseemann@systemli.org> Reviewed-by: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI
		
			
				
	
	
		
			19 lines
		
	
	
	
		
			722 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
	
		
			722 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
| # Configuration for machines with HiDPI displays, which are a total
 | |
| # mess, of course.
 | |
| { ... }:
 | |
| 
 | |
| {
 | |
|   # Expose a variable to all programs that might be interested in the
 | |
|   # screen settings to do conditional initialisation (mostly for Emacs).
 | |
|   environment.variables.HIDPI_SCREEN = "true";
 | |
| 
 | |
|   # TODO(tazjin): this option has been removed and needs to be replaced
 | |
|   # by manual configuration: https://github.com/NixOS/nixpkgs/issues/222805
 | |
|   # Ensure a larger font size in early boot stage.
 | |
|   # hardware.video.hidpi.enable = true;
 | |
| 
 | |
|   # Bump DPI across the board.
 | |
|   # TODO(tazjin): This should actually be set per monitor, but I
 | |
|   # haven't yet figured out the right interface for doing that.
 | |
|   services.xserver.dpi = 161;
 | |
| }
 |