Skip to content

Commit aabc478

Browse files
committed
add git, htop and btm
1 parent 49745e3 commit aabc478

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

nixos/configuration.nix

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,13 @@
33
boot.loader.grub.enable = false;
44

55
environment.systemPackages = with pkgs; [
6+
screen
7+
vim
8+
htop bottom
9+
git
610
libgpiod gpio-utils
711
i2c-tools
812
evtest
9-
screen
10-
vim
1113
(python39.withPackages(ps: with ps;[
1214
adafruit-pureio
1315
pyserial
@@ -35,7 +37,8 @@
3537
getty.autologinUser = "nixos";
3638
openssh = {
3739
enable = true;
38-
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;
3942
permitRootLogin = "no";
4043
};
4144
udev = {

0 commit comments

Comments
 (0)