forked from Fediversity/Fediversity
reproduce issue of missing default value for wheel
attribute, fixed by uncommenting environment resource type
This commit is contained in:
parent
4c9db0d540
commit
1ddece3bd2
1 changed files with 5 additions and 2 deletions
|
@ -120,14 +120,16 @@ in
|
||||||
resources =
|
resources =
|
||||||
cfg:
|
cfg:
|
||||||
lib.optionalAttrs cfg.enable {
|
lib.optionalAttrs cfg.enable {
|
||||||
dummy.login-shell.packages.hello = pkgs.hello;
|
dummy.login-shell.packages = {
|
||||||
|
# hello = pkgs.hello;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
environments.single-nixos-vm = environment: {
|
environments.single-nixos-vm = environment: {
|
||||||
_class = "fediversity-environment";
|
_class = "fediversity-environment";
|
||||||
resources.shell.login-shell = {
|
resources.shell.login-shell = {
|
||||||
username = "operator";
|
username = "operator";
|
||||||
wheel = false; # FIXME: why do i need to make this explicit, if a default was supposed to be set?
|
# wheel = false; # FIXME: why do i need to make this explicit, if a default was supposed to be set?
|
||||||
};
|
};
|
||||||
implementation = requests: {
|
implementation = requests: {
|
||||||
_class = "nixos";
|
_class = "nixos";
|
||||||
|
@ -166,6 +168,7 @@ in
|
||||||
{
|
{
|
||||||
inherit (fediversity)
|
inherit (fediversity)
|
||||||
example-configuration
|
example-configuration
|
||||||
|
example-deployment
|
||||||
;
|
;
|
||||||
num-packages = lib.lists.length fediversity.example-deployment.users.users.operator.packages;
|
num-packages = lib.lists.length fediversity.example-deployment.users.users.operator.packages;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue