monolith: autostart some apps
This commit is contained in:
		
							parent
							
								
									869ba87dab
								
							
						
					
					
						commit
						2ab0b84209
					
				
					 3 changed files with 15 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -2,8 +2,8 @@
 | 
			
		|||
  wayland.windowManager.sway = {
 | 
			
		||||
    extraConfig = ''
 | 
			
		||||
      exec thunderbird
 | 
			
		||||
      exec sleep 3s && exec webcord
 | 
			
		||||
      exec sleep 3s && exec telegram-desktop
 | 
			
		||||
      exec webcord
 | 
			
		||||
      exec telegram-desktop
 | 
			
		||||
    '';
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
{ config, pkgs, lib, inputs, ... }: {
 | 
			
		||||
{ config, pkgs, lib, inputs, osConfig, ... }: {
 | 
			
		||||
  imports = [
 | 
			
		||||
    ./controller.nix
 | 
			
		||||
    ./waybar
 | 
			
		||||
| 
						 | 
				
			
			@ -174,6 +174,13 @@
 | 
			
		|||
    indicator = true;
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
  wayland.windowManager.sway.extraConfig = lib.optionalString (osConfig.networking.hostName or "" == "monolith") ''
 | 
			
		||||
    exec steam
 | 
			
		||||
    exec obs --startreplaybuffer
 | 
			
		||||
    exec deluge-gtk
 | 
			
		||||
    exec nicotine
 | 
			
		||||
  '';
 | 
			
		||||
 | 
			
		||||
  # This value determines the Home Manager release that your
 | 
			
		||||
  # configuration is compatible with. This helps avoid breakage
 | 
			
		||||
  # when a new Home Manager release introduces backwards
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -26,6 +26,11 @@ in
 | 
			
		|||
        { class = "Chromium"; }
 | 
			
		||||
        { app_id = "chromium"; }
 | 
			
		||||
      ];
 | 
			
		||||
      "6" = [
 | 
			
		||||
        { app_id = "org.nicotine_plus.Nicotine"; }
 | 
			
		||||
        { app_id = "deluge"; }
 | 
			
		||||
        { app_id = "com.obsproject.Studio"; }
 | 
			
		||||
      ];
 | 
			
		||||
      "7" = [
 | 
			
		||||
        { app_id = "thunderbird"; }
 | 
			
		||||
        { app_id = "astroid"; }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue