fwminex gets dev environment
This commit is contained in:
parent
69aaa337bf
commit
b243b82c30
@ -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;
|
||||
|
@ -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 = {
|
||||
|
Loading…
Reference in New Issue
Block a user