random changes
This commit is contained in:
		@@ -7,9 +7,9 @@
 | 
				
			|||||||
      enable = true;
 | 
					      enable = true;
 | 
				
			||||||
      libinput= {
 | 
					      libinput= {
 | 
				
			||||||
        enable = true;
 | 
					        enable = true;
 | 
				
			||||||
        mouse = {
 | 
					 #       mouse = {
 | 
				
			||||||
          accelSpeed = "0";
 | 
					 #         accelSpeed = "0";
 | 
				
			||||||
        };
 | 
					 #       };
 | 
				
			||||||
        touchpad = {
 | 
					        touchpad = {
 | 
				
			||||||
          middleEmulation = false;
 | 
					          middleEmulation = false;
 | 
				
			||||||
          clickMethod = "buttonareas";
 | 
					          clickMethod = "buttonareas";
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -4,24 +4,8 @@
 | 
				
			|||||||
  environment.systemPackages = with pkgs; [
 | 
					  environment.systemPackages = with pkgs; [
 | 
				
			||||||
    (callPackage ./customscripts.nix {})
 | 
					    (callPackage ./customscripts.nix {})
 | 
				
			||||||
    (callPackage ./mpd_discord_richpresence.nix {})
 | 
					    (callPackage ./mpd_discord_richpresence.nix {})
 | 
				
			||||||
    (dwm.overrideAttrs (oldAttrs: rec {
 | 
					    (dwm.overrideAttrs (oldAttrs: rec {src = ./dwm;}))
 | 
				
			||||||
      src = ./dwm;
 | 
					    (st.overrideAttrs (oldAttrs: rec {src = ./st;}))
 | 
				
			||||||
  #    src = fetchFromGitHub {
 | 
					 | 
				
			||||||
   #     owner = "natto1784";
 | 
					 | 
				
			||||||
    #    repo = "dwm";
 | 
					 | 
				
			||||||
     #   rev = "363951cb05142f4c423af561a05658e74be7c768";
 | 
					 | 
				
			||||||
    #    sha256 ="003sl6w5dkycw8wcymvhi843xjngsys6qsl3fc5b9vpyd1l7i0sr";
 | 
					 | 
				
			||||||
   #   };
 | 
					 | 
				
			||||||
    }))
 | 
					 | 
				
			||||||
    (st.overrideAttrs (oldAttrs: rec {
 | 
					 | 
				
			||||||
     src = ./st;
 | 
					 | 
				
			||||||
     #src = fetchFromGitHub {
 | 
					 | 
				
			||||||
       # owner = "natto1784";
 | 
					 | 
				
			||||||
      #  repo = "st";
 | 
					 | 
				
			||||||
      #  rev = "0cd1e394e6d07c5f605ae23070c40de9690bafb1";
 | 
					 | 
				
			||||||
      #  sha256 = "0riqg63aghx71v3rrpic3mxhcxqhry20312bicwbf3ks7ndl13hi";
 | 
					 | 
				
			||||||
  #    };
 | 
					 | 
				
			||||||
    }))
 | 
					 | 
				
			||||||
   (dmenu.overrideAttrs (oldAttrs: rec {
 | 
					   (dmenu.overrideAttrs (oldAttrs: rec {
 | 
				
			||||||
     configFile = writeText "config.def.h" (builtins.readFile ./dmenu/config.def.h);
 | 
					     configFile = writeText "config.def.h" (builtins.readFile ./dmenu/config.def.h);
 | 
				
			||||||
     postPatch = "${oldAttrs.postPatch}\n cp ${configFile} config.def.h";
 | 
					     postPatch = "${oldAttrs.postPatch}\n cp ${configFile} config.def.h";
 | 
				
			||||||
@@ -31,6 +15,16 @@
 | 
				
			|||||||
      colemak-dh = writeText "colemak-dh.map" (builtins.readFile ./colemak-dh.map);
 | 
					      colemak-dh = writeText "colemak-dh.map" (builtins.readFile ./colemak-dh.map);
 | 
				
			||||||
      postInstall = "${oldAttrs.postInstall}\n cp ${colemak-dh} $out/share/keymaps/i386/colemak/colemak-dh.map\n gzip $out/share/keymaps/i386/colemak/colemak-dh.map";
 | 
					      postInstall = "${oldAttrs.postInstall}\n cp ${colemak-dh} $out/share/keymaps/i386/colemak/colemak-dh.map\n gzip $out/share/keymaps/i386/colemak/colemak-dh.map";
 | 
				
			||||||
    }))
 | 
					    }))
 | 
				
			||||||
 | 
					    (picom.overrideAttrs (oldAttrs: rec{
 | 
				
			||||||
 | 
					      version = "Next";
 | 
				
			||||||
 | 
					      src = fetchFromGitHub {
 | 
				
			||||||
 | 
					        owner = "yshui";
 | 
				
			||||||
 | 
					        repo = "picom";
 | 
				
			||||||
 | 
					        rev = "v${version}";
 | 
				
			||||||
 | 
					        sha256 = "0asp2hg1jx909kl7i876mcx00vwg9w2swr9i6d786iwgs247dc9i";
 | 
				
			||||||
 | 
					        fetchSubmodules = true;
 | 
				
			||||||
 | 
					      };
 | 
				
			||||||
 | 
					    }))
 | 
				
			||||||
    ncmpcpp
 | 
					    ncmpcpp
 | 
				
			||||||
  ];
 | 
					  ];
 | 
				
			||||||
  nixpkgs.overlays = [
 | 
					  nixpkgs.overlays = [
 | 
				
			||||||
 
 | 
				
			|||||||
 Submodule Packages/scripts updated: 51197513c5...207f4ca68e
									
								
							@@ -1,28 +1,33 @@
 | 
				
			|||||||
{lib, config, pkgs, ... }:
 | 
					{lib, config, pkgs, ... }:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
 | 
					  services.pipewire = {
 | 
				
			||||||
#services.pipewire = {
 | 
					    enable = true;
 | 
				
			||||||
# enable = true;
 | 
					#    alsa = {
 | 
				
			||||||
#  pulse.enable = true;
 | 
					#      enable = true;
 | 
				
			||||||
# config.pipewire = {
 | 
					#      support32Bit = true;
 | 
				
			||||||
#  context.properties = {
 | 
					#    };
 | 
				
			||||||
#   default.clock.min-quantum = 8;
 | 
					    pulse = {
 | 
				
			||||||
# };
 | 
					      enable = true;
 | 
				
			||||||
#};
 | 
					    };
 | 
				
			||||||
# config.pipewire-pulse = {
 | 
					    config.pipewire = {
 | 
				
			||||||
#  context.modules = {
 | 
					      context.properties = {
 | 
				
			||||||
#     pulse.min.req = "4/48000";           # 0.08ms
 | 
					        default.clock.min-quantum = 8;
 | 
				
			||||||
#    pulse.min.quantum = "4/48000";         # 0.08ms
 | 
					      };
 | 
				
			||||||
#};
 | 
					    }; 
 | 
				
			||||||
#stream.properties = {
 | 
					    config.pipewire-pulse = {
 | 
				
			||||||
#  node.latency = "4/48000";
 | 
					      context.modules = {
 | 
				
			||||||
# };
 | 
					        pulse.min.req = "4/24000";           
 | 
				
			||||||
#};
 | 
					        pulse.min.quantum = "4/24000";
 | 
				
			||||||
#};
 | 
					      };
 | 
				
			||||||
  sound.enable = true;
 | 
					      stream.properties = {
 | 
				
			||||||
  hardware = {
 | 
					        node.latency = "4/24000";
 | 
				
			||||||
    pulseaudio.enable = true;
 | 
					      };
 | 
				
			||||||
    pulseaudio.support32Bit = true;
 | 
					    };
 | 
				
			||||||
  };
 | 
					  };
 | 
				
			||||||
 | 
					  sound.enable = true;
 | 
				
			||||||
 | 
					#  hardware = {
 | 
				
			||||||
 | 
					#    pulseaudio.enable = true;
 | 
				
			||||||
 | 
					#    pulseaudio.support32Bit = true;
 | 
				
			||||||
 | 
					#  };
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user