hm: general formatting and tiny doc
This commit is contained in:
		
							parent
							
								
									9412913b2f
								
							
						
					
					
						commit
						95e2571160
					
				
					 1 changed files with 19 additions and 15 deletions
				
			
		| 
						 | 
				
			
			@ -167,21 +167,24 @@
 | 
			
		|||
    qt6Packages.qtwayland
 | 
			
		||||
 | 
			
		||||
    # 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" ];
 | 
			
		||||
      })
 | 
			
		||||
    )
 | 
			
		||||
  ];
 | 
			
		||||
 | 
			
		||||
  #
 | 
			
		||||
| 
						 | 
				
			
			@ -323,6 +326,7 @@
 | 
			
		|||
    "x-scheme-handler/unknown" = "firefox";
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
  # Configure custom services
 | 
			
		||||
  systemd.user.services = {
 | 
			
		||||
    palserver = {
 | 
			
		||||
      Unit = { Description = "Palworld Server"; };
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue