configuration.nix 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. { config, pkgs, ... }:
  2. {
  3. imports =
  4. [
  5. ./hardware-configuration.nix
  6. ];
  7. boot.loader.grub.enable = true;
  8. boot.loader.grub.version = 2;
  9. boot.loader.grub.device = "/dev/sda";
  10. boot.kernelPackages = pkgs.linuxPackages-libre;
  11. networking.hostName = "ephem";
  12. networking.networkmanager.enable = true;
  13. networking.useDHCP = false;
  14. networking.interfaces.enp0s25.useDHCP = true;
  15. networking.interfaces.wlp2s0.useDHCP = true;
  16. time.timeZone = "America/Chicago";
  17. # nixpkgs.config.allowUnfree = true;
  18. environment.systemPackages = with pkgs; [
  19. wget
  20. vim
  21. visidata
  22. emacs
  23. git
  24. rsync
  25. exa
  26. nnn
  27. fzf
  28. ripgrep
  29. tmux
  30. ];
  31. users.users.ephem.packages = with pkgs; [
  32. ardour
  33. audacity
  34. abcm2ps
  35. evince
  36. firefox
  37. gomuks
  38. libreoffice
  39. mpv
  40. riot-desktop
  41. pass
  42. keepassxc
  43. puredata
  44. sox
  45. sxiv
  46. gimp
  47. ffmpeg
  48. inkscape
  49. youtube-dl
  50. racket-minimal
  51. # scribus-unstable
  52. ];
  53. services.openssh.enable = false;
  54. services.printing.enable = true;
  55. sound.enable = true;
  56. hardware.pulseaudio.enable = true;
  57. services.xserver.enable = true;
  58. services.xserver.layout = "us";
  59. services.xserver.autorun = true;
  60. services.xserver.displayManager.sddm.enable = true;
  61. services.xserver.displayManager.sddm.autoLogin.enable = true;
  62. services.xserver.displayManager.sddm.autoLogin.user = "ephem";
  63. services.xserver.desktopManager.plasma5.enable = true;
  64. users.users.ephem = {
  65. isNormalUser = true;
  66. uid = 1000;
  67. home = "/home/ephem";
  68. extraGroups = [ "wheel" "video" "audio" "disk" "networkmanager" ];
  69. };
  70. system.stateVersion = "20.03";
  71. }