hm: fullDesktop -> devTools

This commit is contained in:
2024-02-04 22:05:44 +02:00
parent 2e5382a6e4
commit a186d68041
5 changed files with 16 additions and 43 deletions

View File

@@ -3,7 +3,7 @@
pkgs,
stateVersion,
email,
fullDesktop,
devTools,
hmOnly,
username ? "motiejus",
...
@@ -61,7 +61,9 @@
nativeBuildInputs = [pkgs.makeWrapper];
postBuild = ''
mv $out/bin/${execName} $out/bin/.${execName}-mkWrapped-original
makeWrapper ${wrap}/bin/${wrap.name} $out/bin/${execName} --add-flags $out/bin/.${execName}-mkWrapped-original
makeWrapper \
${wrap}/bin/${wrap.name} $out/bin/${execName} \
--add-flags $out/bin/.${execName}-mkWrapped-original
'';
}
// metaAttributes
@@ -79,7 +81,7 @@ in {
lib.mkMerge [
[pkgNicer]
(lib.mkIf fullDesktop [
(lib.mkIf devTools [
go
zig
])
@@ -103,7 +105,7 @@ in {
generateCaches = true;
};
firefox = lib.mkIf fullDesktop {
firefox = lib.mkIf devTools {
enable = true;
# firefox doesn't need the wrapper on the personal laptop
package =
@@ -143,14 +145,14 @@ in {
plugins = with pkgs.vimPlugins;
lib.mkMerge [
[fugitive]
(lib.mkIf fullDesktop [
(lib.mkIf devTools [
vim-go
zig-vim
])
];
extraConfig = builtins.readFile ./vimrc;
}
(lib.mkIf fullDesktop {
(lib.mkIf devTools {
extraLuaConfig =
builtins.readFile
(pkgs.substituteAll {