21 lines
		
	
	
	
		
			413 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
		
		
			
		
	
	
			21 lines
		
	
	
	
		
			413 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
|  | {inputs, ...}: let | ||
|  |   inherit (inputs.niri-flake.lib.kdl) node leaf plain flag; | ||
|  | in { | ||
|  |   david.programs.niri = { | ||
|  |     enable = true; | ||
|  |     extraConfig = let | ||
|  |       output = node "output"; | ||
|  |     in [ | ||
|  |       (output "eDP-1" [ | ||
|  |         (leaf "mode" "1920x1200@60.018") | ||
|  |         (leaf "scale" 1.0) | ||
|  |         (leaf "position" { | ||
|  |           x = 0; | ||
|  |           y = 0; | ||
|  |         }) | ||
|  |         (leaf "transform" "normal") | ||
|  |       ]) | ||
|  |     ]; | ||
|  |   }; | ||
|  | } |