You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

45 lines
1.1 KiB

  1. { config, pkgs, ... }:
  2. {
  3. imports = [
  4. # Include the results of the hardware scan.
  5. ./hardware-configuration.nix
  6. ];
  7. boot.loader.grub.enable = true;
  8. boot.loader.grub.version = 2;
  9. boot.loader.grub.device = "/dev/sda"; # or "nodev" for efi only
  10. console = {
  11. font = "Lat2-Terminus16";
  12. keyMap = "us";
  13. };
  14. i18n = {
  15. defaultLocale = "en_US.UTF-8";
  16. };
  17. # Set your time zone.
  18. time.timeZone = "Europe/Amsterdam";
  19. environment.systemPackages = with pkgs; [
  20. wget
  21. curl
  22. htop
  23. iotop
  24. iftop
  25. nload
  26. ];
  27. services.openssh = {
  28. enable = true;
  29. passwordAuthentication = false;
  30. permitRootLogin = "yes";
  31. };
  32. users.users.root.openssh.authorizedKeys.keys = [
  33. "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCzV5dI01NhwuL6ayiO0STcSQiDf7lEtu63NuLZKQUdZVuVHIqyt3Gquks2OI1NZGrJdXA315yw89ZqyMo+z7gSGHEV6P0fAXKW6G78JOFWsA5lGpaLxTsZ6Q7r0Z9FMqDvA5Jlsyznyj9hhO1cz01WPLzB92ypd9ifldtrAQIYQItxGXOuRkBJiShuIRqtr4Q2chXiOoRZKb4v4Gyt/UPxTpvfM/zcOz0zi1d4ijSbLqgIUJhxvrWADfdgEQ77unepDoD+HT51QBX7dj8RuYivxLSA3vpfNeCgt2CYBf6FYnmWkWSnN1RCtQPJNxsMuLzC2ZBbIkz0tDgcIBPbHxGr sven@linux-rfa7.site"
  34. ];
  35. system.stateVersion = "20.03";
  36. }