mirror of
https://github.com/kmein/niveum
synced 2026-03-16 18:21:07 +01:00
feat(zaatar): convert to flake feat(tahina, tabula): convert to flake feat(makanek): convert to flake feat(manakish, zaatar): convert to flake feat(ci): build flake systems fix: ci build feat: secrets via submodule foo foo foo
20 lines
350 B
Nix
20 lines
350 B
Nix
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}: let
|
|
inherit (import ../lib) sshPort kieran;
|
|
in {
|
|
users.motd = "Welcome to ${config.networking.hostName}!";
|
|
|
|
services.openssh = {
|
|
enable = true;
|
|
ports = [sshPort];
|
|
passwordAuthentication = false;
|
|
forwardX11 = true;
|
|
};
|
|
|
|
users.users.root.openssh.authorizedKeys.keys = kieran.sshKeys pkgs;
|
|
}
|