Initial experimental commit
This commit is contained in:
		
							parent
							
								
									b848f9d893
								
							
						
					
					
						commit
						682a19b13c
					
				
					 146 changed files with 2463 additions and 2389 deletions
				
			
		
							
								
								
									
										50
									
								
								home/programs/desktop/wayland/utility/default.nix
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										50
									
								
								home/programs/desktop/wayland/utility/default.nix
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,50 @@
 | 
			
		|||
{ lib, config, pkgs, ... }:
 | 
			
		||||
 | 
			
		||||
let
 | 
			
		||||
  cfg = config.programs.desktop.wayland.base;
 | 
			
		||||
in
 | 
			
		||||
 | 
			
		||||
{
 | 
			
		||||
  config = lib.mkIf cfg.enable {
 | 
			
		||||
    home = {
 | 
			
		||||
      packages = with pkgs; [
 | 
			
		||||
        grim
 | 
			
		||||
        gtk3
 | 
			
		||||
        libnotify
 | 
			
		||||
        waypipe
 | 
			
		||||
        pulseaudio
 | 
			
		||||
        pamixer
 | 
			
		||||
        slurp
 | 
			
		||||
        wf-recorder
 | 
			
		||||
        wl-clipboard
 | 
			
		||||
        wl-mirror
 | 
			
		||||
        xdg-utils
 | 
			
		||||
        wlr-randr
 | 
			
		||||
      ];
 | 
			
		||||
      sessionVariables = {
 | 
			
		||||
        QT_QPA_PLATFORM = "wayland";
 | 
			
		||||
        SDL_VIDEODRIVER = "wayland";
 | 
			
		||||
        XDG_SESSION_TYPE = "wayland";
 | 
			
		||||
      };
 | 
			
		||||
    };
 | 
			
		||||
    
 | 
			
		||||
    systemd.user.targets.tray = {
 | 
			
		||||
      Unit = {
 | 
			
		||||
        Description = "Home Manager System Tray";
 | 
			
		||||
        Requires = ["graphical-session-pre.target"];
 | 
			
		||||
      };
 | 
			
		||||
    };
 | 
			
		||||
    
 | 
			
		||||
    services.gammastep = {
 | 
			
		||||
      enable = true;
 | 
			
		||||
      provider = "geoclue2";
 | 
			
		||||
      temperature = {
 | 
			
		||||
        day = 6000;
 | 
			
		||||
        night = 4600;
 | 
			
		||||
      };
 | 
			
		||||
      settings = {
 | 
			
		||||
        general.adjustment-method = "wayland";
 | 
			
		||||
      };
 | 
			
		||||
    };
 | 
			
		||||
  };
 | 
			
		||||
}
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue