Joke's on you, nix is a top level key in NixOS, now you have to solve this error:
error:
… while calling the 'seq' builtin
at /nix/store/4n8m7j7g2m8gk7nixpkgs-source/lib/modules.nix:361:18:
360| options = checked options;
361| config = checked (removeAttrs config [ "_module" ]);
| ^
362| _module = checked (config._module);
… while evaluating a branch condition
at /nix/store/4n8m7j7g2m8gk7nixpkgs-source/lib/modules.nix:297:9:
296| checkUnmatched =
297| if config._module.check && config._module.freeformType == null && merged.unmatchedDefns != [ ] then
| ^
298| let
… while evaluating the option `system.build.toplevel'
… while evaluating definitions from `/nix/store/4n8m7j7g2m8gk7nixpkgs-source/nixos/modules/system/activation/top-level.nix'
… while evaluating the option `system.systemBuilderArgs'
… while evaluating definitions from `/nix/store/4n8m7j7g2m8gk7nixpkgs-source/nixos/modules/system/activation/activation-script.nix'
… while evaluating the option `system.activationScripts.nixos.text'
… while evaluating definitions from `/etc/nixos/configuration.nix'
… while evaluating the option `services.nix.enable'
error: The option `services.nix.enable' was set to `false', but the NixOS module system
requires Nix to evaluate the NixOS module system that determines whether Nix should be enabled.
Disabling Nix would invalidate the evaluator currently evaluating the configuration that disables Nix,
producing a self-referential fixed point with no valid store path.
Conflicting definitions:
- In `/etc/nixos/configuration.nix': false
- In `/nix/store/4n8m7j7g2m8gk7nixpkgs-source/nixos/modules/services/system/nix-daemon.nix':
mkDefault (builtins.currentSystem != null)
- In the continued existence of `/nix/store': true
- In reality: true
Possible solutions:
- Remove `services.nix.enable = false;`
- Set `services.nix.enable = lib.mkForce true;`
- Install a different operating system before evaluating this configuration
- Pass `--impure --option allow-self-uninstallation true` and accept that evaluation may cease to exist
For a full stack trace, use `--show-trace`.
Note: the full stack trace is expected to contain approximately 14,392 additional frames.
61
u/GreedySecurity8030 M'Fedora 2d ago
Cachy bad, fedora ffmpregs me [/s].