From adfd8f48353759bdba7feb29a23f2b00b66eaf2b Mon Sep 17 00:00:00 2001 From: matthewcroughan Date: Wed, 13 Jul 2022 07:40:23 +0100 Subject: [PATCH] base: enable openssh in configuration.nix instead --- base.nix | 5 ----- configuration.nix | 2 ++ 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/base.nix b/base.nix index 28446c7..5672165 100644 --- a/base.nix +++ b/base.nix @@ -18,11 +18,6 @@ }) ]; - # Enable ssh on boot - services = { - openssh.enable = true; - }; - users = { users.default = { password = "visionfive-nix"; diff --git a/configuration.nix b/configuration.nix index eb21714..7cdc508 100644 --- a/configuration.nix +++ b/configuration.nix @@ -1,4 +1,6 @@ { + # Enable ssh on boot + services.openssh.enable = true; networking.firewall.allowedTCPPorts = [ 19999 ]; services.netdata.enable = true; }