From 66d2c7219574464a78d2f6c6335637cc91964ea2 Mon Sep 17 00:00:00 2001 From: Leander Scherer Date: Mon, 20 Jul 2026 22:33:39 +0200 Subject: feat(adam): setup openssh server via key access --- modules/hosts/adam/configuration.nix | 2 ++ modules/hosts/adam/flake-parts.nix | 1 + modules/hosts/adam/secrets.nix | 6 ++++++ 3 files changed, 9 insertions(+) diff --git a/modules/hosts/adam/configuration.nix b/modules/hosts/adam/configuration.nix index 24a47ee..4e43d54 100644 --- a/modules/hosts/adam/configuration.nix +++ b/modules/hosts/adam/configuration.nix @@ -2,6 +2,7 @@ flake.modules.nixos.adam = { pkgs, + config, inputs, ... }: @@ -43,6 +44,7 @@ "networkmanager" "video" "input" + "fuse" ]; }; diff --git a/modules/hosts/adam/flake-parts.nix b/modules/hosts/adam/flake-parts.nix index b737a34..2278c71 100644 --- a/modules/hosts/adam/flake-parts.nix +++ b/modules/hosts/adam/flake-parts.nix @@ -22,6 +22,7 @@ tailscale wooting sunshine + openssh ]; }; } diff --git a/modules/hosts/adam/secrets.nix b/modules/hosts/adam/secrets.nix index 5d47369..7426b9a 100644 --- a/modules/hosts/adam/secrets.nix +++ b/modules/hosts/adam/secrets.nix @@ -32,6 +32,12 @@ group = "users"; mode = "0600"; }; + "ssh_authorized_keys" = { + owner = "schererleander"; + group = "users"; + mode = "0644"; + path = "/etc/ssh/authorized_keys.d/schererleander"; + }; }; }; -- cgit v1.3.1