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 b44c5e027896dd6201c9d798ed4c55c6c79b0394
parent f31f98f4c20683e2a9c08d55cb541c4302c4a960
Author: MTRNord <mtrnord1@gmail.com>
Date:   Tue,  3 Oct 2023 18:31:39 +0200

Try to fix booting

Diffstat:
Mnixos/common/server.nix | 1+
Mnixos/worker-2/boot.nix | 5++++-
2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/nixos/common/server.nix b/nixos/common/server.nix @@ -41,6 +41,7 @@ # btrfs boot kernelPackages = pkgs.linuxPackages_latest; supportedFilesystems = [ "btrfs" ]; + initrd.supportedFilesystems = [ "btrfs" ]; }; hardware.enableAllFirmware = true; diff --git a/nixos/worker-2/boot.nix b/nixos/worker-2/boot.nix @@ -26,7 +26,10 @@ # to unprivileged users. hostKeys = [ "/etc/secrets/initrd/ssh_host_ed25519_key" ]; # I'll just authorize all keys authorized post-boot. - authorizedKeys = config.users.users.marcel.openssh.authorizedKeys.keys; + #authorizedKeys = config.users.users.marcel.openssh.authorizedKeys.keys; + authorizedKeys = [ + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKUzC9NeEc4voBeAO7YuQ1ewRKCS2iar4Bcm4cKoNKUH mtrnord@nordgedanken.dev" + ]; }; }; };