You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When enabling the new experimental user activation program using services.userborn.enable = true; agenix fails to activate.
I am not quite sure what's going on here. A notable quirk of userborn is that it is not a traditional activation script, but rather a systemd unit that is wanted by/required by the nixos activation targets.
Activation log:
Sep 16 17:37:50 andromeda systemd[1]: Starting NixOS Activation...
Sep 16 17:37:50 andromeda initrd-nixos-activation-start[378]: booting system configuration /nix/store/xa6pi703jc9j427cls5qnhvd051vk6yv-nixos-system-andromeda-24.11.20240911.4f807e8
Sep 16 17:37:50 andromeda initrd-nixos-activation-start[378]: running activation script...
Sep 16 17:37:50 andromeda initrd-nixos-activation-start[405]: [agenix] chowning...
Sep 16 17:37:50 andromeda initrd-nixos-activation-start[406]: chown: cannot access '/run/agenix.d': No such file or directory
Sep 16 17:37:50 andromeda initrd-nixos-activation-start[406]: chown: cannot access '/run/agenix.d/': No such file or directory
Sep 16 17:37:50 andromeda initrd-nixos-activation-start[407]: chown: cannot access '/run/agenix.d//beets-secrets.yaml': No such file or directory
Sep 16 17:37:50 andromeda initrd-nixos-activation-start[408]: chown: cannot access '/run/agenix.d//borgbase-repokey': No such file or directory
Sep 16 17:37:50 andromeda initrd-nixos-activation-start[409]: chown: cannot access '/run/agenix.d//id_borgbase': No such file or directory
Sep 16 17:37:50 andromeda initrd-nixos-activation-start[410]: chown: cannot access '/run/agenix.d//listenbrainz-token': No such file or directory
Sep 16 17:37:50 andromeda initrd-nixos-activation-start[411]: chown: cannot access '/run/agenix.d//passwd': No such file or directory
Sep 16 17:37:50 andromeda initrd-nixos-activation-start[412]: chown: cannot access '/run/agenix.d//screenshot-bash': No such file or directory
Sep 16 17:37:50 andromeda initrd-nixos-activation-start[413]: chown: cannot access '/run/agenix.d//wg-scrumplex': No such file or directory
Sep 16 17:37:50 andromeda initrd-nixos-activation-start[405]: Activation script snippet 'agenixChown' failed (1)
Sep 16 17:37:50 andromeda initrd-nixos-activation-start[405]: [agenix] creating new generation in /run/agenix.d/1
Sep 16 17:37:50 andromeda initrd-nixos-activation-start[405]: [agenix] decrypting secrets...
Sep 16 17:37:50 andromeda initrd-nixos-activation-start[405]: decrypting '/nix/store/pmqhzhx7zxyfdnqrgc91gzd0ad2avm73-beets-secrets.yaml.age' to '/run/agenix.d/1/beets-secrets.yaml'...
Sep 16 17:37:50 andromeda initrd-nixos-activation-start[405]: decrypting '/nix/store/27i83hs8hiqq2wa4b48c7zh3smrzl7xr-borgbase-repokey.age' to '/run/agenix.d/1/borgbase-repokey'...
Sep 16 17:37:50 andromeda initrd-nixos-activation-start[405]: decrypting '/nix/store/37620by3rjhq98vvyc622326h38b1p88-id_borgbase.age' to '/run/agenix.d/1/id_borgbase'...
Sep 16 17:37:50 andromeda initrd-nixos-activation-start[405]: decrypting '/nix/store/i9kx61s4mr3gawafm3gaynpim6kb07d5-listenbrainz-token.age' to '/run/agenix.d/1/listenbrainz-token'...
Sep 16 17:37:50 andromeda initrd-nixos-activation-start[405]: decrypting '/nix/store/xwgyj3l8zwix8rzfxg5llm7l4klvhlzh-passwd.age' to '/run/agenix.d/1/passwd'...
Sep 16 17:37:50 andromeda initrd-nixos-activation-start[405]: decrypting '/nix/store/wjwmxc7bkicx28hg94sbk9bba97c6g0s-screenshot-bash.age' to '/run/agenix.d/1/screenshot-bash'...
Sep 16 17:37:50 andromeda initrd-nixos-activation-start[405]: decrypting '/nix/store/11amxy03cwxbmrab26b3caa1xd60v911-wg.age' to '/run/agenix.d/1/wg-scrumplex'...
Sep 16 17:37:50 andromeda initrd-nixos-activation-start[405]: [agenix] symlinking new secrets to /run/agenix (generation 1)...
Sep 16 17:37:50 andromeda initrd-nixos-activation-start[405]: setting up /etc...
Sep 16 17:37:50 andromeda initrd-nixos-activation-start[523]: Path does not exist: /run/current-system
Sep 16 17:37:50 andromeda initrd-nixos-activation-start[405]: Activation script snippet 'nixClosureDiff' failed (1)
Sep 16 17:37:50 andromeda systemd[1]: initrd-nixos-activation.service: Deactivated successfully.
The text was updated successfully, but these errors were encountered:
When enabling the new experimental user activation program using
services.userborn.enable = true;
agenix fails to activate.I am not quite sure what's going on here. A notable quirk of userborn is that it is not a traditional activation script, but rather a systemd unit that is wanted by/required by the nixos activation targets.
Activation log:
The text was updated successfully, but these errors were encountered: