aboutsummaryrefslogtreecommitdiff
path: root/nixos/modules
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2024-02-20 21:09:58 +0100
committerKarel Kočí <cynerd@email.cz>2024-02-20 21:09:58 +0100
commitcccd4338c96ac35c0f5eb37a82c8131f0268e083 (patch)
tree58aa83fbbb73660b953997b660ec06882f0cb3dc /nixos/modules
parent3f20c20af788e8a8e23ebdd602c4242730d3eb4e (diff)
downloadnixos-personal-cccd4338c96ac35c0f5eb37a82c8131f0268e083.tar.gz
nixos-personal-cccd4338c96ac35c0f5eb37a82c8131f0268e083.tar.bz2
nixos-personal-cccd4338c96ac35c0f5eb37a82c8131f0268e083.zip
nixos/spt-omnia: update and fix
Diffstat (limited to 'nixos/modules')
-rw-r--r--nixos/modules/generic.nix8
-rw-r--r--nixos/modules/hosts.nix1
2 files changed, 8 insertions, 1 deletions
diff --git a/nixos/modules/generic.nix b/nixos/modules/generic.nix
index 33d7024..35880f1 100644
--- a/nixos/modules/generic.nix
+++ b/nixos/modules/generic.nix
@@ -167,7 +167,13 @@ in {
];
networking.dhcpcd.extraConfig = "controlgroup wheel";
- services.openssh.enable = true;
+ services.openssh = {
+ enable = true;
+ settings = {
+ PasswordAuthentication = false;
+ PermitRootLogin = "no";
+ };
+ };
time.timeZone = "Europe/Prague";
i18n.defaultLocale = "en_US.UTF-8";
diff --git a/nixos/modules/hosts.nix b/nixos/modules/hosts.nix
index 76e884d..8a9318c 100644
--- a/nixos/modules/hosts.nix
+++ b/nixos/modules/hosts.nix
@@ -46,6 +46,7 @@ in {
# Local
"mpd" = "10.8.2.51";
"errol" = "10.8.2.60";
+ "printer" = "10.8.2.90";
# Portable
"albert" = "10.8.2.61";
"binky" = "10.8.2.63";