summaryrefslogtreecommitdiff
path: root/hosts
diff options
context:
space:
mode:
authorsinanmohd <sinan@sinanmohd.com>2024-01-08 23:40:47 +0530
committersinanmohd <sinan@sinanmohd.com>2024-01-08 23:40:47 +0530
commit024e1668bae906859fc55f891fb2909f92d173d2 (patch)
tree4d66ef2fd2ba75b10c8a53750897b103667ebef7 /hosts
parentf8cea6f6c8a8ce35533d7fa978dbff8cd5427b7c (diff)
common: enable ssh
Diffstat (limited to 'hosts')
-rw-r--r--hosts/cez/configuration.nix4
-rw-r--r--hosts/kay/configuration.nix5
-rw-r--r--hosts/mox/configuration.nix7
3 files changed, 1 insertions, 15 deletions
diff --git a/hosts/cez/configuration.nix b/hosts/cez/configuration.nix
index 05c3b9f..6a801b0 100644
--- a/hosts/cez/configuration.nix
+++ b/hosts/cez/configuration.nix
@@ -32,10 +32,6 @@ in
enable = true;
pulse.enable = true;
};
- openssh = {
- enable = true;
- settings.PasswordAuthentication = false;
- };
getty.autologinUser = user;
};
diff --git a/hosts/kay/configuration.nix b/hosts/kay/configuration.nix
index b2a530e..a21f3a3 100644
--- a/hosts/kay/configuration.nix
+++ b/hosts/kay/configuration.nix
@@ -9,11 +9,6 @@
../../common.nix
];
- services.openssh = {
- enable = true;
- settings.PasswordAuthentication = false;
- };
-
boot.consoleLogLevel = 3;
networking.hostName = "kay";
}
diff --git a/hosts/mox/configuration.nix b/hosts/mox/configuration.nix
index 9b8c314..e3d0f04 100644
--- a/hosts/mox/configuration.nix
+++ b/hosts/mox/configuration.nix
@@ -7,12 +7,7 @@
../../common.nix
];
- services.openssh = {
- enable = true;
- ports = [ 22 465 ];
- settings.PasswordAuthentication = false;
- };
-
+ services.openssh.ports = [ 22 465 ];
boot.consoleLogLevel = 3;
networking.hostName = "mox";
}