mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-11-30 20:16:17 +01:00
aff0158ef7
Signed-off-by: magic_rb <magic_rb@redalder.org>
22 lines
439 B
Nix
22 lines
439 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;
|
|
};
|
|
};
|
|
}
|