fwminex gets dev environment

This commit is contained in:
Motiejus Jakštys 2023-10-09 22:07:42 +03:00
parent 69aaa337bf
commit b243b82c30
2 changed files with 6 additions and 1 deletions

View File

@ -52,6 +52,7 @@ in {
base = {
zfs.enable = true;
users = {
devEnvironment = true;
passwd = {
root.passwordFile = config.age.secrets.root-passwd-hash.path;
motiejus.passwordFile = config.age.secrets.motiejus-passwd-hash.path;

View File

@ -7,6 +7,10 @@
cfg = config.mj.base.users;
in {
options.mj.base.users = with lib.types; {
devEnvironment = lib.mkOption {
type = bool;
default = false;
};
passwd = lib.mkOption {
type = attrsOf (submodule {
options = {
@ -61,8 +65,8 @@ in {
inherit lib;
inherit pkgs;
inherit (config.mj) stateVersion;
inherit (config.mj.base.users) devEnvironment;
email = "motiejus@jakstys.lt";
devEnvironment = false;
})
{
programs.bash = {