From 18535cb3f3fc49b1965ce5c210aeefe4c1a5f837 Mon Sep 17 00:00:00 2001 From: Christopher James Hayward Date: Sat, 19 Jun 2021 14:33:31 -0400 Subject: [PATCH] Fix SSH root permissions + temp GPU support for RPI --- README.org | 5 ++++- hosts/raspberry/hardware.nix | 3 +++ modules/ssh.nix | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/README.org b/README.org index c50ed2f..9ab9890 100644 --- a/README.org +++ b/README.org @@ -701,6 +701,9 @@ This section is very much a work in progress. I have struggled to get this devic ''; }; + # FIXME: Import hardware overlay. + services.xserver.videoDrivers = [ "fbdev"]; + sound.enable = true; hardware.pulseaudio.enable = true; hardware.enableRedistributableFirmware = true; @@ -899,7 +902,7 @@ Apply some configuration to the default settings: { services.openssh = { enable = true; - permitRootLogin = false; + permitRootLogin = "no"; passwordAuthentication = false; }; } diff --git a/hosts/raspberry/hardware.nix b/hosts/raspberry/hardware.nix index 28a7f1b..8f69a87 100644 --- a/hosts/raspberry/hardware.nix +++ b/hosts/raspberry/hardware.nix @@ -27,6 +27,9 @@ ''; }; + # FIXME: Import hardware overlay. + services.xserver.videoDrivers = [ "fbdev"]; + sound.enable = true; hardware.pulseaudio.enable = true; hardware.enableRedistributableFirmware = true; diff --git a/modules/ssh.nix b/modules/ssh.nix index c232828..a22e871 100644 --- a/modules/ssh.nix +++ b/modules/ssh.nix @@ -4,7 +4,7 @@ { services.openssh = { enable = true; - permitRootLogin = false; + permitRootLogin = "no"; passwordAuthentication = false; }; }