Changed: Hyprland Config
This commit is contained in:
		@@ -5,7 +5,10 @@
 | 
			
		||||
    wayland.windowManager.hyprland = {
 | 
			
		||||
        inherit package;
 | 
			
		||||
        enable = true;
 | 
			
		||||
        systemd.variables = [ "--all" ];
 | 
			
		||||
        systemd = {
 | 
			
		||||
            enable = true;
 | 
			
		||||
            variables = [ "--all" ];
 | 
			
		||||
        };
 | 
			
		||||
        plugins = [
 | 
			
		||||
            #inputs.hyprland-plugins.packages.${pkgs.stdenv.hostPlatform.system}.hyprbars
 | 
			
		||||
        ];
 | 
			
		||||
@@ -25,4 +28,37 @@
 | 
			
		||||
        ];
 | 
			
		||||
        extraConfig = builtins.readFile ./hyprland.conf;
 | 
			
		||||
    };
 | 
			
		||||
    
 | 
			
		||||
    # NOTE: this executable is used by greetd to start a wayland session when system boot up
 | 
			
		||||
  # with such a vendor-no-locking script, we can switch to another wayland compositor without modifying greetd's config in NixOS module
 | 
			
		||||
    home.file.".wayland-session" = {
 | 
			
		||||
        source = "${package}/bin/Hyprland";
 | 
			
		||||
        executable = true;
 | 
			
		||||
    };
 | 
			
		||||
 | 
			
		||||
    # hyprland configs, based on https://github.com/notwidow/hyprland
 | 
			
		||||
    /*xdg.configFile = {
 | 
			
		||||
        "hypr/mako" = {
 | 
			
		||||
            source = ../conf/mako;
 | 
			
		||||
            recursive = true;
 | 
			
		||||
        };
 | 
			
		||||
        "hypr/scripts" = {
 | 
			
		||||
            source = ../conf/scripts;
 | 
			
		||||
            recursive = true;
 | 
			
		||||
        };
 | 
			
		||||
        "hypr/waybar" = {
 | 
			
		||||
            source = ../conf/waybar;
 | 
			
		||||
            recursive = true;
 | 
			
		||||
        };
 | 
			
		||||
        "hypr/wlogout" = {
 | 
			
		||||
            source = ../conf/wlogout;
 | 
			
		||||
            recursive = true;
 | 
			
		||||
        };
 | 
			
		||||
 | 
			
		||||
    # music player - mpd
 | 
			
		||||
        "mpd" = {
 | 
			
		||||
            source = ../conf/mpd;
 | 
			
		||||
            recursive = true;
 | 
			
		||||
        };
 | 
			
		||||
    };*/
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user