Add penguin configuration

This commit is contained in:
2025-08-19 00:34:18 +08:00
parent 2835a0a72e
commit c594ff128f
7 changed files with 296 additions and 14 deletions

18
lib/default.nix Normal file
View File

@@ -0,0 +1,18 @@
{
inputs,
lib,
...
}:
{
mkUser =
attrs:
let
sshKeys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJXOpmWsAnl2RtOuJJMRUx+iJTwf2RWJ1iS3FqXJFzFG"
];
in
{
openssh.authorizedKeys.keys = sshKeys;
}
// attrs;
}