testing the new config before pushing to main
This commit is contained in:
		
							parent
							
								
									a545953c2d
								
							
						
					
					
						commit
						c53123d2c5
					
				
					 38 changed files with 370 additions and 198 deletions
				
			
		
							
								
								
									
										29
									
								
								system/modules/displayManager/tuigreet/default.nix
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										29
									
								
								system/modules/displayManager/tuigreet/default.nix
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,29 @@ | |||
| { pkgs, lib, config, ... }: | ||||
| let | ||||
|   tuigreet = "${pkgs.greetd.tuigreet}/bin/tuigreet"; | ||||
|   cfg = config.systemModules.displayManager.tuigreet; | ||||
| in | ||||
| { | ||||
|   config = lib.mkIf cfg.enable { | ||||
|     services.greetd = { | ||||
|       enable = true; | ||||
|       settings = { | ||||
|         default_session = { | ||||
|           command = "${tuigreet} --time --remember --cmd Hyprland"; | ||||
|           user = "greeter"; | ||||
|         }; | ||||
|       }; | ||||
|     }; | ||||
| 
 | ||||
|     systemd.services.greetd.serviceConfig = { | ||||
|       Type = "idle"; | ||||
|       StandardInput = "tty"; | ||||
|       StandardOutput = "tty"; | ||||
|       StandardError = "journal"; # Without this errors will spam on screen | ||||
|       # Without these bootlogs will spam on screen | ||||
|       TTYReset = true; | ||||
|       TTYVHangup = true; | ||||
|       TTYVTDisallocate = true; | ||||
|     }; | ||||
|   }; | ||||
| } | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue