Closed Svenum closed 6 months ago
If I make a nix flake check I got this errors:
If I switch nixpkgs to the stable 23.11 branch it works fine.
My Config: https://github.com/Svenum/nix
I found the issue. I simply removed:
nixpkgs.config.allowUnfree = true;
from my /systems/x86_64-linux/Yon/default.nix
/systems/x86_64-linux/Yon/default.nix
If I make a nix flake check I got this errors:
Details
```bash warning: Git tree '/home/sven/GitHub/nix' is dirty warning: input 'nixos-hardware' has an override for a non-existent input 'nixpkgs' warning: unknown flake output 'homeModules' warning: unknown flake output '_snowfall' warning: unknown flake output 'pkgs' error: … while checking flake output 'nixosConfigurations' at «none»:0: (source not available) … while checking the NixOS configuration 'nixosConfigurations.Yon' at /nix/store/94gag39fil45c81x34rragrb3radkhyh-source/lib/mkFlake.nix:132:7: 131| { 132| ${host.output}.${reverseDomainName} = host.builder ({ | ^ 133| inherit (host) system; (stack trace truncated; use '--show-trace' to show the full trace) error: Failed assertions: - Your system configures nixpkgs with an externally created instance. `nixpkgs.config` options should be passed when creating the instance instead. Current value: { __toString =If I switch nixpkgs to the stable 23.11 branch it works fine.
My Config: https://github.com/Svenum/nix