From 4ea7710714799091f37e025a4d8728230455ea8e Mon Sep 17 00:00:00 2001 From: Ingolf Wagner Date: Thu, 1 Jun 2023 11:44:02 +0200 Subject: [PATCH] move wifi to components --- nixos/components/network/sshd/default.nix | 3 +-- nixos/machines/robi/configuration.nix | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/nixos/components/network/sshd/default.nix b/nixos/components/network/sshd/default.nix index 1d2b658..327559c 100644 --- a/nixos/components/network/sshd/default.nix +++ b/nixos/components/network/sshd/default.nix @@ -44,8 +44,7 @@ in passwordAuthentication = false; }; - users.users.root.openssh.authorizedKeys.keyFiles = - cfg.rootKeyFiles ++ defaultRootKeyFiles; + users.users.root.openssh.authorizedKeys.keyFiles = cfg.rootKeyFiles ++ defaultRootKeyFiles; services.openssh.extraConfig = '' Banner /etc/ssh/banner-line diff --git a/nixos/machines/robi/configuration.nix b/nixos/machines/robi/configuration.nix index 0fc3043..28b549a 100644 --- a/nixos/machines/robi/configuration.nix +++ b/nixos/machines/robi/configuration.nix @@ -8,8 +8,7 @@ ../../system/server/netdata.nix ../../system/server/packages.nix - ../../components/network/sshd - ../../components/network/tinc + ../../components ../../modules