Agenix runs before some partitions are mounted, one option is to mark those partitions are need for boot: { fileSystems."/home".neededForBoot = true; } I choose to copy my ssh key to the root user's HOME, which is not in a separate partition. |
||
---|---|---|
.. | ||
boot.nix | ||
cachix.nix | ||
configuration.nix | ||
gamemode.nix | ||
gitlab-runner.nix | ||
gnome.nix | ||
greetd.nix | ||
kde.nix | ||
media-packages.nix | ||
monolith-gitlab-runner.nix | ||
nix-serve.nix | ||
nix.nix | ||
rainbow-gitlab-runner.nix | ||
secrets.nix | ||
specialisation.nix | ||
steam.nix | ||
thunar.nix |