32 lines
		
	
	
	
		
			783 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			32 lines
		
	
	
	
		
			783 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
| { pkgs, ... }: {
 | |
|   services.xserver = {
 | |
|     enable = true;
 | |
| 
 | |
|     desktopManager = {
 | |
|       xterm.enable = false;
 | |
|       gnome.enable = true;
 | |
|     };
 | |
| 
 | |
|     windowManager = {
 | |
|       i3.enable = true;
 | |
|     };
 | |
| 
 | |
|     displayManager.lightdm.enable = true;
 | |
|   };
 | |
| 
 | |
|   services.displayManager.defaultSession = "none+i3";
 | |
| 
 | |
|   systemd.user.services.polkit-gnome-authentication-agent-1 = {
 | |
|     description = "polkit-gnome-authentication-agent-1";
 | |
|     wantedBy = [ "graphical-session.target" ];
 | |
|     wants = [ "graphical-session.target" ];
 | |
|     after = [ "graphical-session.target" ];
 | |
|     serviceConfig = {
 | |
|       Type = "simple";
 | |
|       ExecStart = "${pkgs.polkit_gnome}/libexec/polkit-gnome-authentication-agent-1";
 | |
|       Restart = "on-failure";
 | |
|       RestartSec = 1;
 | |
|       TimeoutStopSec = 10;
 | |
|     };
 | |
|   };
 | |
| }
 |