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.

109 lines
1.7 KiB

  1. # This file contains the config shared across different devices.
  2. { config, pkgs, ... }:
  3. {
  4. # Set your time zone.
  5. time.timeZone = "Europe/Madrid";
  6. # Select internationalisation properties.
  7. i18n.defaultLocale = "en_US.UTF-8";
  8. i18n.extraLocaleSettings = {
  9. LC_ADDRESS = "es_ES.UTF-8";
  10. LC_IDENTIFICATION = "es_ES.UTF-8";
  11. LC_MEASUREMENT = "es_ES.UTF-8";
  12. LC_MONETARY = "es_ES.UTF-8";
  13. LC_NAME = "es_ES.UTF-8";
  14. LC_NUMERIC = "es_ES.UTF-8";
  15. LC_PAPER = "es_ES.UTF-8";
  16. LC_TELEPHONE = "es_ES.UTF-8";
  17. LC_TIME = "es_ES.UTF-8";
  18. };
  19. environment.systemPackages = with pkgs; [
  20. # minimal
  21. vim
  22. neovim
  23. wget
  24. tmux
  25. git
  26. delta
  27. tig
  28. mosh
  29. bat
  30. lf
  31. ripgrep
  32. fzf
  33. screenfetch
  34. htop
  35. alacritty
  36. zathura
  37. mate.atril
  38. xclip # to make clipboard work in neovim
  39. xorg.xmodmap
  40. xfce.xfce4-screenshooter
  41. xfce.thunar
  42. xfce.xfconf # needed to save preferences of thunar
  43. xfce.ristretto
  44. xfce.tumbler # for thumbnails of imgs
  45. pavucontrol
  46. # other
  47. mpv
  48. feh
  49. kolourpaint
  50. # browsers
  51. firefox
  52. qutebrowser
  53. chromium
  54. # languages
  55. texlive.combined.scheme-medium # includes latexmk
  56. pgf-umlsd # latex diagrams
  57. pgf
  58. (pkgs.texlive.combine {
  59. inherit (pkgs.texlive)
  60. scheme-medium
  61. pgf
  62. ;
  63. })
  64. #gcc
  65. clang
  66. clang-tools
  67. stdenv
  68. rustup
  69. sage
  70. go
  71. python3
  72. nodejs
  73. ];
  74. environment.variables = {
  75. LIBCLANG_PATH = "${pkgs.llvmPackages_17.libclang.lib}/lib";
  76. };
  77. fonts.packages = with pkgs; [
  78. dina-font
  79. proggyfonts
  80. terminus_font
  81. fira-code
  82. liberation_ttf
  83. noto-fonts
  84. tamsyn
  85. termsyn
  86. gohufont
  87. ];
  88. programs.zsh.enable = true;
  89. users.defaultUserShell = pkgs.zsh;
  90. environment.shells = with pkgs; [zsh];
  91. xdg.mime.enable=true;
  92. xdg.mime.defaultApplications = {
  93. "application/pdf" = "zathura";
  94. };
  95. }