mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-12-11 09:22:02 +01:00
519d7b3841
Signed-off-by: Magic_RB <magic_rb@redalder.org>
24 lines
436 B
Nix
24 lines
436 B
Nix
# SPDX-FileCopyrightText: 2022 Richard Brežák <richard@brezak.sk>
|
|
#
|
|
# SPDX-License-Identifier: LGPL-3.0-or-later
|
|
{
|
|
lib,
|
|
...
|
|
}:
|
|
let
|
|
inherit (lib)
|
|
singleton;
|
|
in
|
|
{
|
|
nix.settings.trusted-users = singleton "@wheel";
|
|
|
|
services.openssh = {
|
|
enable = true;
|
|
settings = {
|
|
PasswordAuthentication = false;
|
|
PermitRootLogin = "no";
|
|
AcceptEnv = "INSIDE_EMACS";
|
|
StreamLocalBindUnlink = true;
|
|
};
|
|
};
|
|
}
|