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,7 +167,8 @@
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; (
let base = pkgs.appimageTools.defaultFhsEnvArgs;
in pkgs.buildFHSUserEnv (base // { in pkgs.buildFHSUserEnv (base // {
name = "fhs"; name = "fhs";
targetPkgs = pkgs: targetPkgs = pkgs:
@ -177,11 +178,13 @@
# Therefore, we need to add them manually. # Therefore, we need to add them manually.
# #
# pkgs.appimageTools provides basic packages required by most software. # pkgs.appimageTools provides basic packages required by most software.
(base.targetPkgs pkgs) ++ (with pkgs; [ nodejs ])); (base.targetPkgs pkgs) ++ (with pkgs; [ nodejs ])
);
profile = "export FHS=1"; profile = "export FHS=1";
runScript = "bash"; runScript = "bash";
extraOutputsToInstall = [ "dev" ]; 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"; };