fmt
This commit is contained in:
		
							parent
							
								
									b9b85657db
								
							
						
					
					
						commit
						8ee461d1de
					
				
					 9 changed files with 21 additions and 28 deletions
				
			
		| 
						 | 
					@ -77,8 +77,11 @@
 | 
				
			||||||
        };
 | 
					        };
 | 
				
			||||||
        monolith = lib.nixosSystem {
 | 
					        monolith = lib.nixosSystem {
 | 
				
			||||||
          inherit system specialArgs;
 | 
					          inherit system specialArgs;
 | 
				
			||||||
          modules = [ ./hosts/monolith.nix ./system/gitlab-runner.nix ./system/btusb-kernel-patches.nix ]
 | 
					          modules = [
 | 
				
			||||||
            ++ common_modules;
 | 
					            ./hosts/monolith.nix
 | 
				
			||||||
 | 
					            ./system/gitlab-runner.nix
 | 
				
			||||||
 | 
					            ./system/btusb-kernel-patches.nix
 | 
				
			||||||
 | 
					          ] ++ common_modules;
 | 
				
			||||||
        };
 | 
					        };
 | 
				
			||||||
        rainbow = lib.nixosSystem {
 | 
					        rainbow = lib.nixosSystem {
 | 
				
			||||||
          inherit system specialArgs;
 | 
					          inherit system specialArgs;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -11,7 +11,8 @@
 | 
				
			||||||
        uservars = import ../user/variables.nix;
 | 
					        uservars = import ../user/variables.nix;
 | 
				
			||||||
        dhist = inputs.dhist.packages.${system}.dhist;
 | 
					        dhist = inputs.dhist.packages.${system}.dhist;
 | 
				
			||||||
        mpvpaper = inputs.wegank.packages.${prev.system}.mpvpaper;
 | 
					        mpvpaper = inputs.wegank.packages.${prev.system}.mpvpaper;
 | 
				
			||||||
        sea-orm-cli = inputs.sea-orm-cli.legacyPackages.${prev.system}.sea-orm-cli;
 | 
					        sea-orm-cli =
 | 
				
			||||||
 | 
					          inputs.sea-orm-cli.legacyPackages.${prev.system}.sea-orm-cli;
 | 
				
			||||||
        nil-lsp = inputs.nil-lsp.packages.${prev.system}.nil;
 | 
					        nil-lsp = inputs.nil-lsp.packages.${prev.system}.nil;
 | 
				
			||||||
        alacritty = (prev.unstable.alacritty.overrideAttrs (old-alacritty: rec {
 | 
					        alacritty = (prev.unstable.alacritty.overrideAttrs (old-alacritty: rec {
 | 
				
			||||||
          src = inputs.alacritty-sixel;
 | 
					          src = inputs.alacritty-sixel;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -24,7 +24,8 @@
 | 
				
			||||||
    _diffr = [ diffr ];
 | 
					    _diffr = [ diffr ];
 | 
				
			||||||
    kak-pager = [ fish final._diffr ];
 | 
					    kak-pager = [ fish final._diffr ];
 | 
				
			||||||
    kak-man-pager = [ final.kak-pager ];
 | 
					    kak-man-pager = [ final.kak-pager ];
 | 
				
			||||||
    showkeys = [ ]; # This will not work unless programs.wshowkeys is enabled systemwide
 | 
					    showkeys =
 | 
				
			||||||
 | 
					      [ ]; # This will not work unless programs.wshowkeys is enabled systemwide
 | 
				
			||||||
    terminal = [ alacritty ];
 | 
					    terminal = [ alacritty ];
 | 
				
			||||||
    wpass = [ final.wdmenu fd pass sd wl-clipboard wtype ];
 | 
					    wpass = [ final.wdmenu fd pass sd wl-clipboard wtype ];
 | 
				
			||||||
    screenshotsh =
 | 
					    screenshotsh =
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -3,15 +3,18 @@
 | 
				
			||||||
  boot.kernelPatches = [
 | 
					  boot.kernelPatches = [
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
      name = "bt-usb-fixes-1";
 | 
					      name = "bt-usb-fixes-1";
 | 
				
			||||||
      patch = ./kernel/patches/1-3-Bluetooth-btusb-Fix-Chinese-CSR-dongles-again-by-re-adding-ERR_DATA_REPORTING-quirk.diff;
 | 
					      patch =
 | 
				
			||||||
 | 
					        ./kernel/patches/1-3-Bluetooth-btusb-Fix-Chinese-CSR-dongles-again-by-re-adding-ERR_DATA_REPORTING-quirk.diff;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
      name = "bt-usb-fixes-2";
 | 
					      name = "bt-usb-fixes-2";
 | 
				
			||||||
      patch = ./kernel/patches/2-3-Bluetooth-btusb-Add-a-setup-message-for-CSR-dongles-showing-the-Read-Local-Information-values.diff;
 | 
					      patch =
 | 
				
			||||||
 | 
					        ./kernel/patches/2-3-Bluetooth-btusb-Add-a-setup-message-for-CSR-dongles-showing-the-Read-Local-Information-values.diff;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
      name = "bt-usb-fixes-3";
 | 
					      name = "bt-usb-fixes-3";
 | 
				
			||||||
      patch = ./kernel/patches/3-3-Bluetooth-btusb-Add-a-parameter-to-let-users-disable-the-fake-CSR-force-suspend-hack.diff;
 | 
					      patch =
 | 
				
			||||||
 | 
					        ./kernel/patches/3-3-Bluetooth-btusb-Add-a-parameter-to-let-users-disable-the-fake-CSR-force-suspend-hack.diff;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
      name = "bt-usb-fixes-4";
 | 
					      name = "bt-usb-fixes-4";
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -2,11 +2,7 @@
 | 
				
			||||||
# your system.  Help is available in the configuration.nix(5) man page
 | 
					# your system.  Help is available in the configuration.nix(5) man page
 | 
				
			||||||
# and in the NixOS manual (accessible by running ‘nixos-help’).
 | 
					# and in the NixOS manual (accessible by running ‘nixos-help’).
 | 
				
			||||||
{ config, pkgs, inputs, ... }: {
 | 
					{ config, pkgs, inputs, ... }: {
 | 
				
			||||||
  imports = [
 | 
					  imports = [ ./gamemode.nix ./cachix.nix ./media-packages.nix ];
 | 
				
			||||||
    ./gamemode.nix
 | 
					 | 
				
			||||||
    ./cachix.nix
 | 
					 | 
				
			||||||
    ./media-packages.nix
 | 
					 | 
				
			||||||
  ];
 | 
					 | 
				
			||||||
  packages.media-packages.enable = true;
 | 
					  packages.media-packages.enable = true;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  # Bootloader.
 | 
					  # Bootloader.
 | 
				
			||||||
| 
						 | 
					@ -81,9 +77,7 @@
 | 
				
			||||||
        # Discoverable = true;
 | 
					        # Discoverable = true;
 | 
				
			||||||
        AlwaysPairable = true;
 | 
					        AlwaysPairable = true;
 | 
				
			||||||
      };
 | 
					      };
 | 
				
			||||||
      Policy = {
 | 
					      Policy = { AutoEnable = true; };
 | 
				
			||||||
        AutoEnable = true;
 | 
					 | 
				
			||||||
      };
 | 
					 | 
				
			||||||
    };
 | 
					    };
 | 
				
			||||||
  };
 | 
					  };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -2,9 +2,7 @@
 | 
				
			||||||
  programs.gamemode.enable = true;
 | 
					  programs.gamemode.enable = true;
 | 
				
			||||||
  programs.gamemode.enableRenice = true;
 | 
					  programs.gamemode.enableRenice = true;
 | 
				
			||||||
  programs.gamemode.settings = {
 | 
					  programs.gamemode.settings = {
 | 
				
			||||||
    general = {
 | 
					    general = { renice = 10; };
 | 
				
			||||||
      renice = 10;
 | 
					 | 
				
			||||||
    };
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
    # Warning: GPU optimisations have the potential to damage hardware
 | 
					    # Warning: GPU optimisations have the potential to damage hardware
 | 
				
			||||||
    gpu = {
 | 
					    gpu = {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,6 +1,5 @@
 | 
				
			||||||
{ config, pkgs, lib, inputs, ... }:
 | 
					{ config, pkgs, lib, inputs, ... }:
 | 
				
			||||||
let inherit (import ./variables.nix) key theme color accent font desktop;
 | 
					let inherit (import ./variables.nix) desktop;
 | 
				
			||||||
 | 
					 | 
				
			||||||
in {
 | 
					in {
 | 
				
			||||||
  imports = [
 | 
					  imports = [
 | 
				
			||||||
    ./controller.nix
 | 
					    ./controller.nix
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -60,8 +60,6 @@ in {
 | 
				
			||||||
        # output_folder = "/home/lelgenio";
 | 
					        # output_folder = "/home/lelgenio";
 | 
				
			||||||
      };
 | 
					      };
 | 
				
			||||||
    };
 | 
					    };
 | 
				
			||||||
    home.sessionVariables = {
 | 
					    home.sessionVariables = { MANGOHUD_DLSYM = 1; };
 | 
				
			||||||
      MANGOHUD_DLSYM = 1;
 | 
					 | 
				
			||||||
    };
 | 
					 | 
				
			||||||
  };
 | 
					  };
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -5,10 +5,6 @@
 | 
				
			||||||
      pass-secret-service.enable = true;
 | 
					      pass-secret-service.enable = true;
 | 
				
			||||||
      password-store-sync.enable = true;
 | 
					      password-store-sync.enable = true;
 | 
				
			||||||
    };
 | 
					    };
 | 
				
			||||||
    home.packages = with pkgs; [
 | 
					    home.packages = with pkgs; [ pass wpass _gpg-unlock ];
 | 
				
			||||||
      pass
 | 
					 | 
				
			||||||
      wpass
 | 
					 | 
				
			||||||
      _gpg-unlock
 | 
					 | 
				
			||||||
    ];
 | 
					 | 
				
			||||||
  };
 | 
					  };
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue