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.

117 lines
1.9 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. jq
  47. # other
  48. mpv
  49. feh
  50. kolourpaint
  51. # browsers
  52. firefox
  53. qutebrowser
  54. chromium
  55. # languages
  56. #texlive.combined.scheme-medium # includes latexmk
  57. #texlivePackages.minted
  58. pgf-umlsd # latex diagrams
  59. pgf
  60. (pkgs.texlive.combine {
  61. inherit (pkgs.texlive)
  62. scheme-medium # includes latexmk
  63. minted # syntax highligting
  64. pgf
  65. ;
  66. })
  67. #gcc
  68. clang
  69. clang-tools
  70. pkg-config
  71. openssl
  72. stdenv
  73. rustup
  74. sage
  75. go
  76. python3
  77. pipx
  78. nodejs
  79. ];
  80. environment.variables = {
  81. LIBCLANG_PATH = "${pkgs.llvmPackages_17.libclang.lib}/lib";
  82. PKG_CONFIG_PATH = "${pkgs.openssl.dev}/lib/pkgconfig";
  83. OPENSSL_DIR = "${pkgs.openssl.dev}";
  84. };
  85. fonts.packages = with pkgs; [
  86. dina-font
  87. proggyfonts
  88. terminus_font
  89. fira-code
  90. liberation_ttf
  91. noto-fonts
  92. tamsyn
  93. termsyn
  94. gohufont
  95. ];
  96. programs.zsh.enable = true;
  97. users.defaultUserShell = pkgs.zsh;
  98. environment.shells = with pkgs; [zsh];
  99. xdg.mime.enable=true;
  100. xdg.mime.defaultApplications = {
  101. "application/pdf" = "zathura";
  102. };
  103. }