gtk.nix 549 B

12345678910111213141516171819202122232425262728293031323334353637
  1. let
  2. gtksettings = {
  3. gtk-application-prefer-dark-theme = 1;
  4. gtk-recent-files-max-age = 0;
  5. };
  6. in {
  7. gtk = {
  8. enable = true;
  9. cursorTheme = {
  10. name = "Adwaita";
  11. size = 24;
  12. };
  13. font = {
  14. name = "sans";
  15. size = 10;
  16. };
  17. gtk3 = {
  18. extraCss = ''
  19. VteTerminal, vte-terminal {
  20. padding: 10px;
  21. }
  22. '';
  23. extraConfig = gtksettings;
  24. };
  25. gtk4 = {
  26. extraConfig = gtksettings;
  27. };
  28. iconTheme.name = "Papirus-Dark";
  29. theme.name = "adw-gtk3";
  30. };
  31. }