add fhs bash for stubborn projects
This commit is contained in:
@@ -7,5 +7,6 @@
|
|||||||
./dev.nix
|
./dev.nix
|
||||||
./gaming.nix
|
./gaming.nix
|
||||||
./plasma.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;
|
enablePcApps = osConfig.lumpiasty.pc;
|
||||||
dev = osConfig.lumpiasty.pc;
|
dev = osConfig.lumpiasty.pc;
|
||||||
gaming = osConfig.lumpiasty.gaming;
|
gaming = osConfig.lumpiasty.gaming;
|
||||||
|
fhs = osConfig.lumpiasty.pc;
|
||||||
};
|
};
|
||||||
|
|
||||||
home.stateVersion = "24.05";
|
home.stateVersion = "24.05";
|
||||||
|
|||||||
Reference in New Issue
Block a user