archachatina: switch to i3
This commit is contained in:
		
							parent
							
								
									ec0eb1930b
								
							
						
					
					
						commit
						73a9f4660f
					
				@ -4,12 +4,12 @@
 | 
			
		||||
  imports =
 | 
			
		||||
    [
 | 
			
		||||
      ./common-headless.nix
 | 
			
		||||
      ./sway.nix
 | 
			
		||||
      # ./i3.nix
 | 
			
		||||
      # ./sway.nix
 | 
			
		||||
      ./i3.nix
 | 
			
		||||
      ./large-sw.nix
 | 
			
		||||
      ./uefi.nix
 | 
			
		||||
      ./fstrim.nix
 | 
			
		||||
      ./qemu-user.nix
 | 
			
		||||
      # ./qemu-user.nix
 | 
			
		||||
      ./atmega.nix
 | 
			
		||||
      ./v4l2loopback.nix
 | 
			
		||||
      ./huion.nix
 | 
			
		||||
@ -103,7 +103,7 @@
 | 
			
		||||
 | 
			
		||||
  #boot.kernelPackages = pkgs.lib.mkOverride 10 pkgs.linuxPackages_latest;
 | 
			
		||||
  # boot.kernelPackages = pkgs.lib.mkOverride 10 pkgs.linuxPackages;
 | 
			
		||||
  boot.kernelPackages = pkgs.lib.mkOverride 10 pkgs.linuxPackages_5_8;
 | 
			
		||||
  # boot.kernelPackages = pkgs.lib.mkOverride 10 pkgs.linuxPackages_5_8;
 | 
			
		||||
 | 
			
		||||
  services.xserver = {
 | 
			
		||||
    videoDrivers = [ "amdgpu" ];
 | 
			
		||||
 | 
			
		||||
@ -54,6 +54,14 @@
 | 
			
		||||
    ];
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
  environment.systemPackages = [
 | 
			
		||||
    (pkgs.writeScriptBin "gsd-xsettings"
 | 
			
		||||
      ''
 | 
			
		||||
        #!/bin/sh
 | 
			
		||||
        exec ${pkgs.gnome3.gnome-settings-daemon}/libexec/gsd-xsettings "$@"
 | 
			
		||||
      '')
 | 
			
		||||
  ];
 | 
			
		||||
 | 
			
		||||
  # prevent satanic torture
 | 
			
		||||
  programs.qt5ct.enable = true;
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -16,6 +16,7 @@
 | 
			
		||||
  nix.extraOptions = ''
 | 
			
		||||
    auto-optimise-store = true
 | 
			
		||||
    binary-caches-parallel-connections = 10
 | 
			
		||||
    experimental-features = flakes nix-command
 | 
			
		||||
  '';
 | 
			
		||||
 | 
			
		||||
  networking.networkmanager.enable = true;
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										6
									
								
								i3.nix
									
									
									
									
									
								
							
							
								
								
								
								
								
									
									
								
							
						
						
									
										6
									
								
								i3.nix
									
									
									
									
									
								
							@ -20,7 +20,7 @@
 | 
			
		||||
    evince
 | 
			
		||||
    arandr
 | 
			
		||||
    xss-lock i3lock i3lock-color
 | 
			
		||||
    # xdotool
 | 
			
		||||
    xdotool
 | 
			
		||||
    scrot
 | 
			
		||||
    pavucontrol
 | 
			
		||||
    dconf-editor
 | 
			
		||||
@ -59,9 +59,6 @@
 | 
			
		||||
          export XDG_DATA_DIRS=/run/current-system/sw/share/''${XDG_DATA_DIRS:+:}$XDG_DATA_DIRS
 | 
			
		||||
          export $(${pkgs.gnome3.gnome_keyring}/bin/gnome-keyring-daemon --start --components=pkcs11,secrets,ssh)
 | 
			
		||||
          export XDG_CURRENT_DESKTOP=X-Generic
 | 
			
		||||
          for m in xsettings; do
 | 
			
		||||
            ${pkgs.gnome3.gnome_settings_daemon}/libexec/gsd-$m &
 | 
			
		||||
          done
 | 
			
		||||
          i3 &
 | 
			
		||||
          waitPID=$!
 | 
			
		||||
        '';
 | 
			
		||||
@ -75,6 +72,7 @@
 | 
			
		||||
    xkbOptions = "caps:ctrl_modifier";
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
  services.dbus.socketActivated = true;
 | 
			
		||||
  services.dbus.packages = with pkgs; [ dunst ];
 | 
			
		||||
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										6
									
								
								sway.nix
									
									
									
									
									
								
							
							
								
								
								
								
								
									
									
								
							
						
						
									
										6
									
								
								sway.nix
									
									
									
									
									
								
							@ -35,12 +35,6 @@
 | 
			
		||||
    qt5.qtwayland
 | 
			
		||||
 | 
			
		||||
    wdisplays
 | 
			
		||||
 | 
			
		||||
    (pkgs.writeScriptBin "gsd-xsettings"
 | 
			
		||||
      ''
 | 
			
		||||
        #!/bin/sh
 | 
			
		||||
        exec ${pkgs.gnome3.gnome-settings-daemon}/libexec/gsd-xsettings "$@"
 | 
			
		||||
      '')
 | 
			
		||||
  ];
 | 
			
		||||
 | 
			
		||||
  nixpkgs.config.packageOverrides = pkgs: with pkgs; {
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user