fix: move to nixfmt-rfc-style instead of nixpkgs-fmt
This commit is contained in:
		
							parent
							
								
									5ad03ee2e8
								
							
						
					
					
						commit
						ecbe0c069c
					
				
					 14 changed files with 184 additions and 83 deletions
				
			
		| 
						 | 
				
			
			@ -125,22 +125,28 @@
 | 
			
		|||
 | 
			
		||||
    # Create an FHS environment using the command `fhs`, enabling the execution of non-NixOS packages in NixOS!
 | 
			
		||||
    (
 | 
			
		||||
      let base = pkgs.appimageTools.defaultFhsEnvArgs;
 | 
			
		||||
      in pkgs.buildFHSUserEnv (base // {
 | 
			
		||||
        name = "fhs";
 | 
			
		||||
        targetPkgs = pkgs:
 | 
			
		||||
          (
 | 
			
		||||
            # pkgs.buildFHSUserEnv provides only a minimal FHS environment,
 | 
			
		||||
            # lacking many basic packages needed by most software.
 | 
			
		||||
            # Therefore, we need to add them manually.
 | 
			
		||||
            #
 | 
			
		||||
            # pkgs.appimageTools provides basic packages required by most software.
 | 
			
		||||
            (base.targetPkgs pkgs) ++ (with pkgs; [ nodejs ])
 | 
			
		||||
          );
 | 
			
		||||
        profile = "export FHS=1";
 | 
			
		||||
        runScript = "bash";
 | 
			
		||||
        extraOutputsToInstall = [ "dev" ];
 | 
			
		||||
      })
 | 
			
		||||
      let
 | 
			
		||||
        base = pkgs.appimageTools.defaultFhsEnvArgs;
 | 
			
		||||
      in
 | 
			
		||||
      pkgs.buildFHSUserEnv (
 | 
			
		||||
        base
 | 
			
		||||
        // {
 | 
			
		||||
          name = "fhs";
 | 
			
		||||
          targetPkgs =
 | 
			
		||||
            pkgs:
 | 
			
		||||
            (
 | 
			
		||||
              # pkgs.buildFHSUserEnv provides only a minimal FHS environment,
 | 
			
		||||
              # lacking many basic packages needed by most software.
 | 
			
		||||
              # Therefore, we need to add them manually.
 | 
			
		||||
              #
 | 
			
		||||
              # pkgs.appimageTools provides basic packages required by most software.
 | 
			
		||||
              (base.targetPkgs pkgs) ++ (with pkgs; [ nodejs ])
 | 
			
		||||
            );
 | 
			
		||||
          profile = "export FHS=1";
 | 
			
		||||
          runScript = "bash";
 | 
			
		||||
          extraOutputsToInstall = [ "dev" ];
 | 
			
		||||
        }
 | 
			
		||||
      )
 | 
			
		||||
    )
 | 
			
		||||
  ];
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -152,8 +158,7 @@
 | 
			
		|||
  # plain files is through 'home.file'.
 | 
			
		||||
  home.file = {
 | 
			
		||||
    # Cattpuccin theme for fish shell.
 | 
			
		||||
    ".config/fish/themes/Catppuccin-Frappe.theme".source =
 | 
			
		||||
      ./programs/fish/Catppuccin-Frappe.theme;
 | 
			
		||||
    ".config/fish/themes/Catppuccin-Frappe.theme".source = ./programs/fish/Catppuccin-Frappe.theme;
 | 
			
		||||
 | 
			
		||||
    # Configuration for gamemode, for running games with optimizations.
 | 
			
		||||
    ".config/gamemode.ini".source = ./programs/gamemode.ini;
 | 
			
		||||
| 
						 | 
				
			
			@ -164,11 +169,11 @@
 | 
			
		|||
    ## Kvantum's theme configuration.
 | 
			
		||||
    ".config/Kvantum/Catppuccin-Frappe-Lavender" = {
 | 
			
		||||
      source = "${
 | 
			
		||||
          pkgs.catppuccin-kvantum.override {
 | 
			
		||||
            accent = "Lavender";
 | 
			
		||||
            variant = "Frappe";
 | 
			
		||||
          }
 | 
			
		||||
        }/share/Kvantum/Catppuccin-Frappe-Lavender";
 | 
			
		||||
        pkgs.catppuccin-kvantum.override {
 | 
			
		||||
          accent = "Lavender";
 | 
			
		||||
          variant = "Frappe";
 | 
			
		||||
        }
 | 
			
		||||
      }/share/Kvantum/Catppuccin-Frappe-Lavender";
 | 
			
		||||
    };
 | 
			
		||||
 | 
			
		||||
    ".config/Kvantum/kvantum.kvconfig".text = ''
 | 
			
		||||
| 
						 | 
				
			
			@ -180,8 +185,7 @@
 | 
			
		|||
    ## Themeing configuration for qt5 and qt6
 | 
			
		||||
    ".config/qt5ct/colors".source = ./theming/qt5ct;
 | 
			
		||||
 | 
			
		||||
    ".config/qt6ct/colors".source =
 | 
			
		||||
      ./theming/qt5ct; # We use the qt5ct because it's the SAME spec
 | 
			
		||||
    ".config/qt6ct/colors".source = ./theming/qt5ct; # We use the qt5ct because it's the SAME spec
 | 
			
		||||
    ##
 | 
			
		||||
 | 
			
		||||
    # Configure pipewire for microphone noise supression.
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue