From 8779cb4ce8fa65a87396f4b8deec9d5302a48212 Mon Sep 17 00:00:00 2001 From: albert Date: Sun, 28 Jul 2024 09:14:59 +0900 Subject: [PATCH] Add ssh-luks to desktop --- nixos/common/modules/ssh-luks.nix | 2 +- nixos/hosts/nixos-desktop/default.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/nixos/common/modules/ssh-luks.nix b/nixos/common/modules/ssh-luks.nix index 6b257a50..25c016c7 100644 --- a/nixos/common/modules/ssh-luks.nix +++ b/nixos/common/modules/ssh-luks.nix @@ -28,8 +28,8 @@ ''ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMrfwK60FYqUwvUwRuI3pwMnVX28aeuOvRPCMLNOi5IT albert@nixos-desktop'' ]; hostKeys = [ - # Generate new keys with: # CAUTION: You WANT to generate a new key. This is stored plaintext in /boot + # Generate new keys with: # ssh-keygen -t rsa -N "" -f /boot/ssh_host_rsa_key "/boot/ssh_host_rsa_key" ]; diff --git a/nixos/hosts/nixos-desktop/default.nix b/nixos/hosts/nixos-desktop/default.nix index c4a4712f..1d2b19d3 100644 --- a/nixos/hosts/nixos-desktop/default.nix +++ b/nixos/hosts/nixos-desktop/default.nix @@ -5,7 +5,7 @@ ../../common/modules/secureboot.nix # ../../common/modules/yubikey-auth.nix # ../../common/modules/boot.nix - # ../../common/modules/ssh-luks.nix + ../../common/modules/ssh-luks.nix ../../common/services/openrazer.nix ../../common/services/podman.nix ../../common/services/tailscale-autoconnect.nix