From da51a4997bb704ec3b6d74cc4b37aacf03bc78eb Mon Sep 17 00:00:00 2001 From: Paul-Henri Froidmont Date: Thu, 25 Sep 2025 18:44:04 +0200 Subject: [PATCH] Update ssh keys --- modules/openssh.nix | 11 ++++++++--- ssh_keys/phfroidmont-stellaris.pub | 1 + 2 files changed, 9 insertions(+), 3 deletions(-) create mode 100644 ssh_keys/phfroidmont-stellaris.pub diff --git a/modules/openssh.nix b/modules/openssh.nix index a3c412d..3bd4ef1 100644 --- a/modules/openssh.nix +++ b/modules/openssh.nix @@ -1,8 +1,12 @@ { config, lib, ... }: with lib; -let cfg = config.custom.services.openssh; -in { - options.custom.services.openssh = { enable = mkEnableOption "openssh"; }; +let + cfg = config.custom.services.openssh; +in +{ + options.custom.services.openssh = { + enable = mkEnableOption "openssh"; + }; config = mkIf cfg.enable { services.openssh.enable = true; @@ -10,6 +14,7 @@ in { users.users.root.openssh.authorizedKeys.keyFiles = [ ../ssh_keys/froidmpa-desktop.pub ../ssh_keys/froidmpa-laptop.pub + ../ssh_keys/phfroidmont-stellaris.pub ../ssh_keys/elios-desktop.pub ]; }; diff --git a/ssh_keys/phfroidmont-stellaris.pub b/ssh_keys/phfroidmont-stellaris.pub new file mode 100644 index 0000000..23ccd49 --- /dev/null +++ b/ssh_keys/phfroidmont-stellaris.pub @@ -0,0 +1 @@ +ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHk6GUenOaMxf0YquxEPubN5zjrfHvqw76IYXxD9NUo6 phfroidmont@stellaris-2025-09-09