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.

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