47 lines
846 B
Nix
47 lines
846 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 = "gnome";
|
|
style.name = "adwaita";
|
|
};
|
|
};
|
|
}
|