hm: add some packages to hm-only home

This commit is contained in:
Motiejus Jakštys 2023-10-27 10:31:00 +03:00 committed by Motiejus Jakštys
parent eb4d8c0652
commit 3ccb63b1e5
3 changed files with 25 additions and 10 deletions

View File

@ -274,6 +274,7 @@
stateVersion = "23.05"; stateVersion = "23.05";
email = "motiejusja@wix.com"; email = "motiejusja@wix.com";
devEnvironment = true; devEnvironment = true;
hmOnly = true;
}; };
}; };

View File

@ -66,6 +66,7 @@ in {
inherit pkgs; inherit pkgs;
inherit (config.mj) stateVersion; inherit (config.mj) stateVersion;
inherit (config.mj.base.users) devEnvironment; inherit (config.mj.base.users) devEnvironment;
hmOnly = false;
email = "motiejus@jakstys.lt"; email = "motiejus@jakstys.lt";
}) })
{ {

View File

@ -4,6 +4,7 @@
stateVersion, stateVersion,
email, email,
devEnvironment, devEnvironment,
hmOnly,
... ...
}: { }: {
home = { home = {
@ -14,18 +15,30 @@
}; };
home.packages = with pkgs; home.packages = with pkgs;
if devEnvironment (
then [ if devEnvironment
go then [
go
zigpkgs."0.11.0" zigpkgs."0.11.0"
sbt sbt
scala_2_12 scala_2_12
metals metals
coursier coursier
] ]
else []; else []
)
++ (
if hmOnly
then [
ncdu
tokei
vimv-rs
hyperfine
]
else []
);
programs.direnv.enable = true; programs.direnv.enable = true;