diff options
| author | Leander Scherer <leander@schererleander.de> | 2026-07-20 22:33:39 +0200 |
|---|---|---|
| committer | Leander Scherer <leander@schererleander.de> | 2026-07-20 22:34:11 +0200 |
| commit | 66d2c7219574464a78d2f6c6335637cc91964ea2 (patch) | |
| tree | 79bd73c78845a7764ed7347cb0b115b47fb95f2b /modules | |
| parent | 12117f2aa191922a3d424436f9a823a5c4154e41 (diff) | |
feat(adam): setup openssh server via key access
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/hosts/adam/configuration.nix | 2 | ||||
| -rw-r--r-- | modules/hosts/adam/flake-parts.nix | 1 | ||||
| -rw-r--r-- | modules/hosts/adam/secrets.nix | 6 |
3 files changed, 9 insertions, 0 deletions
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"; + }; }; }; |
