When I try to apply the configuration to my laptop I get
nix run .#apply
dodadan | Uploaded keys (pre-activation)
dodadan | Activating system profile
dodadan | /nix/store/srjsvai3c0jhik73qlgk8vwqgabymqd7-nix-2.25.5/bin/nix-env: error while loading shared libraries: /nix/store/ii1fdbyzymw9vj2ywxrmz34wbnlg4fb6-libidn2-2.3.7/lib/libidn2.so.0: invalid ELF header
dodadan | Traceback (most recent call last):
dodadan | File "/nix/store/dz92xc5464x1471dnfblv7bzmb5rl8pc-systemd-boot/bin/systemd-boot", line 431, in <module>
dodadan | main()
dodadan | File "/nix/store/dz92xc5464x1471dnfblv7bzmb5rl8pc-systemd-boot/bin/systemd-boot", line 414, in main
dodadan | install_bootloader(args)
dodadan | File "/nix/store/dz92xc5464x1471dnfblv7bzmb5rl8pc-systemd-boot/bin/systemd-boot", line 357, in install_bootloader
dodadan | gens = get_generations()
dodadan | ^^^^^^^^^^^^^^^^^
dodadan | File "/nix/store/dz92xc5464x1471dnfblv7bzmb5rl8pc-systemd-boot/bin/systemd-boot", line 213, in get_generations
dodadan | gen_list = run(
dodadan | ^^^^
dodadan | File "/nix/store/dz92xc5464x1471dnfblv7bzmb5rl8pc-systemd-boot/bin/systemd-boot", line 58, in run
dodadan | return subprocess.run(cmd, check=True, text=True, stdout=stdout)
dodadan | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
dodadan | File "/nix/store/qrc496n6fsqp4p5m5h8wmw5d5jwyw5mr-python3-3.12.8/lib/python3.12/subprocess.py", line 571, in run
dodadan | raise CalledProcessError(retcode, process.args,
dodadan | subprocess.CalledProcessError: Command '['/nix/store/srjsvai3c0jhik73qlgk8vwqgabymqd7-nix-2.25.5/bin/nix-env', '--list-generations', '-p', '/nix/var/nix/profiles/system']' returned non-zero exit status 127.
dodadan | Failed to install bootloader
dodadan | Activation failed: Child process exited with error code: 1
The weirdest thing is I have 2 other machines the configuration applies without problems, despite them sharing most of the configuration.
The configuration is Paki / My Nixos Conf · GitLab