nix-dotfiles/home/config/gtk.nix
h7x4 72ec7c3f2c
gtk: make gtk3 bookmarks public
Let's hope they won't cause a CVE or something
2023-03-07 23:03:33 +01:00

30 lines
592 B
Nix

{ pkgs, config, ... }:
{
gtk = pkgs.lib.mkIf (!config.machineVars.headless) {
enable = true;
font = {
name = "Droid Sans";
};
iconTheme = {
package = pkgs.papirus-icon-theme;
name = "Papirus";
};
theme = {
package = pkgs.vimix-gtk-themes;
name = "VimixDark";
};
gtk2.configLocation = "${config.xdg.configHome}/gtk-2.0/gtkrc";
gtk3.bookmarks = map (s: "file://${config.home.homeDirectory}/${s}") [
"Dropbox"
"Downloads"
"git/pvv"
"nix"
"NTNU"
"ng"
"git"
"music"
];
};
}