- move bind scripts to standalone shell applications - split configuration into more modules - still more work to be done
		
			
				
	
	
		
			23 lines
		
	
	
	
		
			597 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
	
		
			597 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
| { config, lib, pkgs, ... }:
 | |
| 
 | |
| let
 | |
|   cfg = config.homeModules.desktop.wayland.windowManager.hyprland;
 | |
| in
 | |
| 
 | |
| {
 | |
|   config = lib.mkIf cfg.enable {
 | |
|     wayland.windowManager.hyprland.settings = {
 | |
|       exec = [
 | |
|         "${pkgs.polkit_gnome}/libexec/polkit-gnome-authentication-agent-1"
 | |
|         "${pkgs.swaybg}/bin/swaybg -i ${config.wallpaper} --mode fill"
 | |
|       ];
 | |
|       exec-once = [
 | |
|         "${pkgs._1password-gui}/bin/1password --silent"
 | |
|         "${pkgs.live-buds-cli}/bin/earbuds -d"
 | |
|         "eww daemon && eww open bar"
 | |
|         "systemctl --user start clight"
 | |
|         "waybar"
 | |
|       ];
 | |
|     };
 | |
|   };
 | |
| }
 |