reproduce issue of missing default value for wheel attribute, fixed by uncommenting environment resource type

This commit is contained in:
Kiara Grouwstra 2025-07-22 21:51:04 +02:00
parent 4c9db0d540
commit 1ddece3bd2
Signed by: kiara
SSH key fingerprint: SHA256:COspvLoLJ5WC5rFb9ZDe5urVCkK4LJZOsjfF4duRJFU

View file

@ -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;
}; };