aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeander Scherer <leander@schererleander.de>2026-07-20 22:33:39 +0200
committerLeander Scherer <leander@schererleander.de>2026-07-20 22:34:11 +0200
commit66d2c7219574464a78d2f6c6335637cc91964ea2 (patch)
tree79bd73c78845a7764ed7347cb0b115b47fb95f2b
parent12117f2aa191922a3d424436f9a823a5c4154e41 (diff)
feat(adam): setup openssh server via key access
-rw-r--r--modules/hosts/adam/configuration.nix2
-rw-r--r--modules/hosts/adam/flake-parts.nix1
-rw-r--r--modules/hosts/adam/secrets.nix6
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";
+ };
};
};