hm: general formatting and tiny doc

This commit is contained in:
Alexandre Cavalheiro 2024-04-11 20:04:10 -03:00
parent 9412913b2f
commit 95e2571160
Signed by: wizardlink
GPG key ID: A5767B54367CFBDF

View file

@ -167,21 +167,24 @@
qt6Packages.qtwayland qt6Packages.qtwayland
# Create an FHS environment using the command `fhs`, enabling the execution of non-NixOS packages in NixOS! # 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 // { let base = pkgs.appimageTools.defaultFhsEnvArgs;
name = "fhs"; in pkgs.buildFHSUserEnv (base // {
targetPkgs = pkgs: name = "fhs";
( targetPkgs = pkgs:
# pkgs.buildFHSUserEnv provides only a minimal FHS environment, (
# lacking many basic packages needed by most software. # pkgs.buildFHSUserEnv provides only a minimal FHS environment,
# Therefore, we need to add them manually. # 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 ])); # pkgs.appimageTools provides basic packages required by most software.
profile = "export FHS=1"; (base.targetPkgs pkgs) ++ (with pkgs; [ nodejs ])
runScript = "bash"; );
extraOutputsToInstall = [ "dev" ]; profile = "export FHS=1";
})) runScript = "bash";
extraOutputsToInstall = [ "dev" ];
})
)
]; ];
# #
@ -323,6 +326,7 @@
"x-scheme-handler/unknown" = "firefox"; "x-scheme-handler/unknown" = "firefox";
}; };
# Configure custom services
systemd.user.services = { systemd.user.services = {
palserver = { palserver = {
Unit = { Description = "Palworld Server"; }; Unit = { Description = "Palworld Server"; };