nixos

NixOS server files. Mirror from https://git.nordgedanken.dev/kubernetes/nixos
git clone git://archive.git.mtrnord.blog/MTRNord/nixos.git
Log | Files | Refs | README

commit 8b047201614ab0893b502533c2d0cc0293ff0bdc
parent 9456046c9be87fbd7ae5b1d3a7d061307e384d2f
Author: MTRNord <mtrnord1@gmail.com>
Date:   Wed,  9 Aug 2023 16:10:14 +0200

Try to fix sops password

Diffstat:
Mnixos/worker-1/configuration.nix | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/nixos/worker-1/configuration.nix b/nixos/worker-1/configuration.nix @@ -158,6 +158,7 @@ sops.age.generateKey = true; sops.defaultSopsFile = builtins.path { path = ./secrets/secrets.yaml; name = "worker-1-secrets"; }; sops.secrets.marcel_initial_password.neededForUsers = true; + sops.secrets.root_initial_password.neededForUsers = true; sops.secrets.ssh_host_ed25519_key = { mode = "0600"; source = "/etc/ssh/ssh_host_ed25519_key"; @@ -196,7 +197,7 @@ }; }; - users.users."root".passwordFile = config.sops.secrets.marcel_initial_password.path; + users.users."root".passwordFile = config.sops.secrets.root_initial_password.path; # This setups a SSH server. Very important if you're setting up a headless system. # Feel free to remove if you don't need it.