about summary refs log tree commit diff
path: root/nixos/tests/nix-config.nix
AgeCommit message (Collapse)AuthorFilesLines
2024-03-03nixos/nix: add workaround for https://github.com/NixOS/nix/issues/9487Guillaume Girol1-0/+18
Nix has a suprising behavior where if the option `extra-foo` is set before `foo`, then setting `foo` overwrites the setting for `extra-foo`. This is reported as https://github.com/NixOS/nix/issues/9487, and will likely not be fixed any time soon. This works around this issue by always putting `extra-*` settings after non-extra ones in the nixos-generated `/etc/nix.conf`.