fwminex gets dev environment
This commit is contained in:
parent
69aaa337bf
commit
b243b82c30
@ -52,6 +52,7 @@ in {
|
|||||||
base = {
|
base = {
|
||||||
zfs.enable = true;
|
zfs.enable = true;
|
||||||
users = {
|
users = {
|
||||||
|
devEnvironment = true;
|
||||||
passwd = {
|
passwd = {
|
||||||
root.passwordFile = config.age.secrets.root-passwd-hash.path;
|
root.passwordFile = config.age.secrets.root-passwd-hash.path;
|
||||||
motiejus.passwordFile = config.age.secrets.motiejus-passwd-hash.path;
|
motiejus.passwordFile = config.age.secrets.motiejus-passwd-hash.path;
|
||||||
|
@ -7,6 +7,10 @@
|
|||||||
cfg = config.mj.base.users;
|
cfg = config.mj.base.users;
|
||||||
in {
|
in {
|
||||||
options.mj.base.users = with lib.types; {
|
options.mj.base.users = with lib.types; {
|
||||||
|
devEnvironment = lib.mkOption {
|
||||||
|
type = bool;
|
||||||
|
default = false;
|
||||||
|
};
|
||||||
passwd = lib.mkOption {
|
passwd = lib.mkOption {
|
||||||
type = attrsOf (submodule {
|
type = attrsOf (submodule {
|
||||||
options = {
|
options = {
|
||||||
@ -61,8 +65,8 @@ in {
|
|||||||
inherit lib;
|
inherit lib;
|
||||||
inherit pkgs;
|
inherit pkgs;
|
||||||
inherit (config.mj) stateVersion;
|
inherit (config.mj) stateVersion;
|
||||||
|
inherit (config.mj.base.users) devEnvironment;
|
||||||
email = "motiejus@jakstys.lt";
|
email = "motiejus@jakstys.lt";
|
||||||
devEnvironment = false;
|
|
||||||
})
|
})
|
||||||
{
|
{
|
||||||
programs.bash = {
|
programs.bash = {
|
||||||
|
Loading…
Reference in New Issue
Block a user