refactor(xdg.portal): move all xdg.portal options -> system
This commit is contained in:
		
							parent
							
								
									1d70d4342e
								
							
						
					
					
						commit
						3ab9bec923
					
				
					 4 changed files with 1 additions and 8 deletions
				
			
		| 
						 | 
				
			
			@ -23,7 +23,6 @@ in
 | 
			
		|||
  };
 | 
			
		||||
 | 
			
		||||
  config = lib.mkIf cfg.enable {
 | 
			
		||||
    xdg.portal.enable = true;
 | 
			
		||||
    home.sessionVariables = {
 | 
			
		||||
      CLUTTER_BACKEND = "wayland";
 | 
			
		||||
      NIXOS_OZONE_WL = "1";
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -12,10 +12,6 @@ in
 | 
			
		|||
  ];
 | 
			
		||||
 | 
			
		||||
  config = lib.mkIf cfg.enable {
 | 
			
		||||
    xdg.portal = {
 | 
			
		||||
      extraPortals = [ inputs.xdg-portal-hyprland.packages.${pkgs.system}.default ];
 | 
			
		||||
    };
 | 
			
		||||
 | 
			
		||||
    home.packages = [
 | 
			
		||||
      pkgs.hyprpicker
 | 
			
		||||
      hyprvolume
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -34,8 +34,6 @@ in
 | 
			
		|||
        "Net/IconThemeName" = gtk.iconTheme.name;
 | 
			
		||||
      };
 | 
			
		||||
    };
 | 
			
		||||
 | 
			
		||||
    xdg.portal.extraPortals = [ pkgs.xdg-desktop-portal-gtk ];
 | 
			
		||||
  });
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue