This example fails nix flake check with
den/templates/default on main
❯ nix flake check
warning: unknown flake output 'modules'
evaluation warning: system.stateVersion is not set, defaulting to 26.05. Read why this matters on https://nixos.org/manual/nixos/stable/options.html#opt-system.stateVersion.
error:
… while checking flake output 'nixosConfigurations'
… while checking the NixOS configuration 'nixosConfigurations.igloo'
… while calling the 'head' builtin
at /nix/store/wzcf74b2g5c3qfg4rcswcz28ngiwzzp0-source/lib/attrsets.nix:1713:13:
1712| if length values == 1 || pred here (elemAt values 1) (head values) then
1713| head values
| ^
1714| else
… while evaluating the option `system.build.toplevel':
… while evaluating definitions from `/nix/store/wzcf74b2g5c3qfg4rcswcz28ngiwzzp0-source/nixos/modules/system/activation/top-level.nix':
(stack trace truncated; use '--show-trace' to show the full, detailed trace)
error:
Failed assertions:
- The ‘fileSystems’ option does not specify your root file system.
- You must set the option ‘boot.loader.grub.devices’ or 'boot.loader.grub.mirroredBoots' to make the system bootable.
den/templates/default on main
Originally posted by @Buttars in #142 (comment)
This example fails
nix flake checkwithOriginally posted by @Buttars in #142 (comment)