add fhs bash for stubborn projects
This commit is contained in:
@@ -7,5 +7,6 @@
|
||||
./dev.nix
|
||||
./gaming.nix
|
||||
./plasma.nix
|
||||
./fhsBash.nix
|
||||
];
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
{ config, lib, pkgs, osConfig, ... }:
|
||||
|
||||
{
|
||||
options.lumpiastyHome.fhs = lib.mkEnableOption "FHS bash wrapper";
|
||||
|
||||
config = lib.mkIf (config.lumpiastyHome.fhs) {
|
||||
home.packages = [
|
||||
(pkgs.buildFHSEnv {
|
||||
name = "fhs";
|
||||
targetPkgs = p: [];
|
||||
runScript = "bash";
|
||||
})
|
||||
];
|
||||
};
|
||||
}
|
||||
@@ -8,6 +8,7 @@
|
||||
enablePcApps = osConfig.lumpiasty.pc;
|
||||
dev = osConfig.lumpiasty.pc;
|
||||
gaming = osConfig.lumpiasty.gaming;
|
||||
fhs = osConfig.lumpiasty.pc;
|
||||
};
|
||||
|
||||
home.stateVersion = "24.05";
|
||||
|
||||
Reference in New Issue
Block a user