configuration.nix 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150
  1. { config, pkgs, callPackage, ... }:
  2. {
  3. imports =
  4. [
  5. ./hardware-configuration.nix
  6. ];
  7. nixpkgs.config.allowUnfree = true;
  8. boot.loader.grub.enable = true;
  9. boot.loader.grub.version = 2;
  10. boot.loader.grub.device = "/dev/sda";
  11. networking.hostName = "durian";
  12. networking.wireless.enable = true;
  13. networking.useDHCP = false;
  14. networking.interfaces.enp0s25.useDHCP = true;
  15. networking.interfaces.wlp2s0.useDHCP = true;
  16. i18n.defaultLocale = "en_US.UTF-8";
  17. console = {
  18. font = "Lat2-Terminus16";
  19. keyMap = "us";
  20. };
  21. time.timeZone = "America/New_York";
  22. environment.systemPackages = with pkgs; [
  23. acpi
  24. wget
  25. visidata
  26. btrfs-progs
  27. git
  28. mosh
  29. rsync
  30. tig
  31. tokei
  32. irssi
  33. nnn
  34. neofetch
  35. tmux
  36. fzf
  37. ripgrep
  38. tmux
  39. xclip
  40. vim
  41. coreutils
  42. emacs
  43. gnupg
  44. fd
  45. clang
  46. ];
  47. users.users.jgart.packages = with pkgs; [
  48. abcm2ps
  49. insomnia
  50. zathura
  51. evince
  52. grpcui
  53. stumpish
  54. flatpak
  55. pass
  56. pgcli
  57. sic
  58. imagemagick
  59. hexchat
  60. gnome3.gnome-terminal
  61. pscircle
  62. tiny
  63. kazam
  64. clojure
  65. gajim
  66. firefox
  67. chromium
  68. google-chrome
  69. qemu
  70. evince
  71. mu
  72. darcs
  73. haskellPackages.Agda
  74. lilypond-unstable
  75. libreoffice
  76. keepassxc
  77. python38Packages.pygments
  78. musescore
  79. pypi2nix
  80. httpie
  81. mpv
  82. st
  83. openscad
  84. zathura
  85. puredata
  86. python3
  87. ffmpeg
  88. inkscape
  89. sox
  90. superTux
  91. sbcl
  92. tor-browser-bundle-bin
  93. youtube-dl
  94. racket-minimal
  95. wire-desktop
  96. ];
  97. services.openssh.enable = false;
  98. virtualisation.docker.enable = true;
  99. services.printing.enable = true;
  100. sound.enable = true;
  101. hardware.pulseaudio.enable = true;
  102. services.xserver.enable = true;
  103. services.xserver.layout = "us";
  104. services.xserver.autorun = true;
  105. # Enable touchpad support.
  106. services.xserver.libinput.enable = true;
  107. services.xserver.displayManager.lightdm.enable = true;
  108. services.xserver.displayManager.lightdm.autoLogin.enable = true;
  109. services.xserver.displayManager.lightdm.autoLogin.user = "jgart";
  110. services.xserver.desktopManager.xfce.enable = true;
  111. users.users.jgart = {
  112. isNormalUser = true;
  113. uid = 1000;
  114. home = "/home/jgart";
  115. extraGroups = [ "wheel" "video" "audio" "disk" "networkmanager" ];
  116. useDefaultShell = true;
  117. };
  118. system.stateVersion = "20.03";
  119. }