hm: add some packages to hm-only home
This commit is contained in:
parent
eb4d8c0652
commit
3ccb63b1e5
@ -274,6 +274,7 @@
|
||||
stateVersion = "23.05";
|
||||
email = "motiejusja@wix.com";
|
||||
devEnvironment = true;
|
||||
hmOnly = true;
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -66,6 +66,7 @@ in {
|
||||
inherit pkgs;
|
||||
inherit (config.mj) stateVersion;
|
||||
inherit (config.mj.base.users) devEnvironment;
|
||||
hmOnly = false;
|
||||
email = "motiejus@jakstys.lt";
|
||||
})
|
||||
{
|
||||
|
@ -4,6 +4,7 @@
|
||||
stateVersion,
|
||||
email,
|
||||
devEnvironment,
|
||||
hmOnly,
|
||||
...
|
||||
}: {
|
||||
home = {
|
||||
@ -14,6 +15,7 @@
|
||||
};
|
||||
|
||||
home.packages = with pkgs;
|
||||
(
|
||||
if devEnvironment
|
||||
then [
|
||||
go
|
||||
@ -25,7 +27,18 @@
|
||||
metals
|
||||
coursier
|
||||
]
|
||||
else [];
|
||||
else []
|
||||
)
|
||||
++ (
|
||||
if hmOnly
|
||||
then [
|
||||
ncdu
|
||||
tokei
|
||||
vimv-rs
|
||||
hyperfine
|
||||
]
|
||||
else []
|
||||
);
|
||||
|
||||
programs.direnv.enable = true;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user