Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Short description of the issue #22

Open
R1YMOLIM opened this issue Dec 7, 2024 · 0 comments
Open

[Bug]: Short description of the issue #22

R1YMOLIM opened this issue Dec 7, 2024 · 0 comments

Comments

@R1YMOLIM
Copy link

R1YMOLIM commented Dec 7, 2024

Screenshot_07-Dec_23-59-08_13324
Hello guys i'm configuring conf.nix and get this error help me pls!

┌─[r1y@NixOS] - [~] - [Sat Dec 07, 23:50]
└─[$] <> sudo nixos-rebuild -I nixos-config=/home/r1y/NixOS-Hyprland/hosts/NixOS/config.nix switch

building Nix...
building the system configuration...
error:
… while calling the 'head' builtin
at /nix/store/nr5nl3zwzl02x3rnikjbry3s5xy7bm1d-source/lib/attrsets.nix:1574:11:
1573| || pred here (elemAt values 1) (head values) then
1574| head values
| ^
1575| else

   … while evaluating the attribute 'value'
     at /nix/store/nr5nl3zwzl02x3rnikjbry3s5xy7bm1d-source/lib/modules.nix:846:9:
      845|     in warnDeprecation opt //
      846|       { value = addErrorContext "while evaluating the option `${showOption loc}':" value;
         |         ^
      847|         inherit (res.defsFinal') highestPrio;

   … while evaluating the option `system.build.toplevel':

   … while evaluating definitions from `/nix/store/nr5nl3zwzl02x3rnikjbry3s5xy7bm1d-source/nixos/modules/system/activation/top-level.nix':

   … while evaluating the option `assertions':

   … while evaluating definitions from `/nix/store/nr5nl3zwzl02x3rnikjbry3s5xy7bm1d-source/nixos/modules/system/boot/systemd.nix':

   … while evaluating the option `systemd.services':

   … while evaluating definitions from `/nix/store/nr5nl3zwzl02x3rnikjbry3s5xy7bm1d-source/nixos/modules/services/logging/logrotate.nix':

   … while evaluating the option `services.logrotate.enable':

   … while evaluating the option `users.groups':

   … while evaluating definitions from `/nix/store/nr5nl3zwzl02x3rnikjbry3s5xy7bm1d-source/nixos/modules/config/resolvconf.nix':

   … while evaluating the option `networking.resolvconf.enable':

   … while evaluating the option `environment.etc':

   … while evaluating definitions from `/nix/store/nr5nl3zwzl02x3rnikjbry3s5xy7bm1d-source/nixos/modules/services/networking/ssh/sshd.nix':

   … while evaluating the option `users.users':

   … while evaluating definitions from `/home/r1y/NixOS-Hyprland/hosts/NixOS/users.nix':

   … while evaluating the module argument `username' in "/home/r1y/NixOS-Hyprland/hosts/NixOS/users.nix":

   (stack trace truncated; use '--show-trace' to show the full, detailed trace)

   error: attribute 'username' missing
   at /nix/store/nr5nl3zwzl02x3rnikjbry3s5xy7bm1d-source/lib/modules.nix:515:28:
      514|         addErrorContext (context name)
      515|           (args.${name} or config._module.args.${name})
         |                            ^
      516|       ) (functionArgs f);

┌─[r1y@NixOS] - [~] - [Sat Dec 07, 23:58]
└─[$] <>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant