making kaladin use hyprland
This commit is contained in:
		
							parent
							
								
									aa801d3476
								
							
						
					
					
						commit
						984e06d60d
					
				
					 5 changed files with 14 additions and 11 deletions
				
			
		| 
						 | 
					@ -73,7 +73,7 @@ with lib;
 | 
				
			||||||
    enable = true;
 | 
					    enable = true;
 | 
				
			||||||
    settings = rec {
 | 
					    settings = rec {
 | 
				
			||||||
      initial_session = {
 | 
					      initial_session = {
 | 
				
			||||||
        command = "dbus-run-session startplasma-wayland";
 | 
					        command = if builtins.readFile "/etc/hostname" == "syl\n" then "dbus-run-session startplasma-wayland" else "hyprland";
 | 
				
			||||||
        user = "chris";
 | 
					        user = "chris";
 | 
				
			||||||
      };
 | 
					      };
 | 
				
			||||||
      default_session = {
 | 
					      default_session = {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -27,7 +27,7 @@
 | 
				
			||||||
      ];
 | 
					      ];
 | 
				
			||||||
    };
 | 
					    };
 | 
				
			||||||
    nvidia = {
 | 
					    nvidia = {
 | 
				
			||||||
      package = config.boot.kernelPackages.nvidiaPackages.latest;
 | 
					      package = config.boot.kernelPackages.nvidiaPackages.beta;
 | 
				
			||||||
      modesetting.enable = true;
 | 
					      modesetting.enable = true;
 | 
				
			||||||
      powerManagement.enable = true;
 | 
					      powerManagement.enable = true;
 | 
				
			||||||
    };
 | 
					    };
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -43,7 +43,6 @@
 | 
				
			||||||
  fileSystems."/run/media/chris/backup" =
 | 
					  fileSystems."/run/media/chris/backup" =
 | 
				
			||||||
    { device = "/dev/disk/by-uuid/4286b9ef-e8ed-49a0-9eec-91b8ee05b2cb";
 | 
					    { device = "/dev/disk/by-uuid/4286b9ef-e8ed-49a0-9eec-91b8ee05b2cb";
 | 
				
			||||||
      fsType = "ext4";
 | 
					      fsType = "ext4";
 | 
				
			||||||
      options = [ "noatime" "space_cache" "clear_cache" "compress=zstd" ];
 | 
					 | 
				
			||||||
    };
 | 
					    };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  fileSystems."/boot" =
 | 
					  fileSystems."/boot" =
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -2,7 +2,7 @@
 | 
				
			||||||
 | 
					
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
  imports = [
 | 
					  imports = [
 | 
				
			||||||
    # ./modules/hyprland.nix
 | 
					    ./modules/hyprland.nix
 | 
				
			||||||
  ];
 | 
					  ];
 | 
				
			||||||
  # Home Manager needs a bit of information about you and the
 | 
					  # Home Manager needs a bit of information about you and the
 | 
				
			||||||
  # paths it should manage.
 | 
					  # paths it should manage.
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -61,21 +61,25 @@
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    decoration {
 | 
					    decoration {
 | 
				
			||||||
        rounding=18
 | 
					        rounding=18
 | 
				
			||||||
        active_opacity=0.95
 | 
					        multisample_edges=true
 | 
				
			||||||
        inactive_opacity=0.85
 | 
					        active_opacity=0.97
 | 
				
			||||||
 | 
					        inactive_opacity=0.75
 | 
				
			||||||
        fullscreen_opacity=1.0
 | 
					        fullscreen_opacity=1.0
 | 
				
			||||||
        blur=true
 | 
					        blur=true
 | 
				
			||||||
        blur_new_optimizations=true
 | 
					        blur_new_optimizations=true
 | 
				
			||||||
        blur_size=9# minimum 1
 | 
					        blur_size=10 # minimum 1
 | 
				
			||||||
        blur_passes=5 # minimum 1, more passes = more resource intensive.
 | 
					        blur_passes=3 # minimum 1, more passes = more resource intensive.
 | 
				
			||||||
 | 
					        blur_ignore_opacity=false
 | 
				
			||||||
        # Your blur "amount" is blur_size * blur_passes, but high blur_size (over around 5-ish) will produce artifacts.
 | 
					        # Your blur "amount" is blur_size * blur_passes, but high blur_size (over around 5-ish) will produce artifacts.
 | 
				
			||||||
        # if you want heavy blur, you need to up the blur_passes.
 | 
					        # if you want heavy blur, you need to up the blur_passes.
 | 
				
			||||||
        # the more passes, the more you can up the blur_size without noticing artifacts.
 | 
					        # the more passes, the more you can up the blur_size without noticing artifacts.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        drop_shadow=true
 | 
					        drop_shadow=true
 | 
				
			||||||
        shadow_range=20
 | 
					        shadow_range=15
 | 
				
			||||||
        shadow_offset=4 4
 | 
					        shadow_offset=5 5
 | 
				
			||||||
 | 
					        shadow_scale=0.99
 | 
				
			||||||
        shadow_render_power=1
 | 
					        shadow_render_power=1
 | 
				
			||||||
        col.shadow = rgba(000000ee)
 | 
					        col.shadow = rgba(000000cc)
 | 
				
			||||||
        dim_inactive=true
 | 
					        dim_inactive=true
 | 
				
			||||||
        dim_strength=0.2
 | 
					        dim_strength=0.2
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue