We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 49745e3 commit aabc478Copy full SHA for aabc478
nixos/configuration.nix
@@ -3,11 +3,13 @@
3
boot.loader.grub.enable = false;
4
5
environment.systemPackages = with pkgs; [
6
+ screen
7
+ vim
8
+ htop bottom
9
+ git
10
libgpiod gpio-utils
11
i2c-tools
12
evtest
- screen
- vim
13
(python39.withPackages(ps: with ps;[
14
adafruit-pureio
15
pyserial
@@ -35,7 +37,8 @@
35
37
getty.autologinUser = "nixos";
36
38
openssh = {
39
enable = true;
- passwordAuthentication = false;
40
+ # enable password authentication if no public key is set
41
+ passwordAuthentication = if config.users.extraUsers.nixos.openssh.authorizedKeys.keys == [] then true else false;
42
permitRootLogin = "no";
43
};
44
udev = {
0 commit comments