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

installerIso attributes no longer (?) work if boot.loader.grub.enable is set #57

Open
sternenseemann opened this issue Feb 1, 2024 · 1 comment

Comments

@sternenseemann
Copy link
Contributor

> nix-instantiate -A machines.sternenseemann.ludwig.installerIso
error: The option `boot.loader.grub.enable' has conflicting definition values:
- In `/nix/var/nix/profiles/per-user/root/channels/vuizvui/nixpkgs/nixos/modules/installer/cd-dvd/iso-image.nix': false
- In `/home/lukas/src/nix/vuizvui/machines/sternenseemann/ludwig.nix': true
Use `lib.mkForce value` or `lib.mkDefault value` to change the priority on any of these definitions.

(use '--show-trace' to show detailed location information)

It appears that it fails while merging the machine config and the iso-image.nix module before there is an opportunity of the lib.mkForce in mkIso to kick in.

@sternenseemann
Copy link
Contributor Author

Seems like in practice even more problems arise such as no-x-libs.nix conflicting with a lot of settings in normal machines. Maybe this idea doesn't work as well anymore or another nixos module should be used for the installer media.

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