nixconf/modules/home/gnome/default.nix

46 lines
845 B
Nix

{
pkgs,
lib,
config,
...
}:
{
imports = [
./dconf.nix
];
config = lib.mkIf config.mtxyz.graphical {
home.packages = (with pkgs.gnome; [
gnome-tweaks dconf-editor
]) ++ (with pkgs.gnomeExtensions; [
paperwm appindicator app-icons-taskbar arcmenu
]);
xsession = {
enable = true;
windowManager.command = "${pkgs.gnome.gnome-session}/bin/gnome-session";
};
home.pointerCursor = {
name = "Adwaita";
package = pkgs.vanilla-dmz;
gtk.enable = true;
x11.enable = true;
size = 24;
};
xdg.enable = true;
xdg.configFile = {
"tiling-assistant/layouts.json" = {
source = ./layouts.json;
};
};
gtk.enable = true;
qt = {
enable = true;
platformTheme = "gtk3";
style.name = "kvantum";
};
};
}