home-manager/home/gnome.nix

69 lines
2.1 KiB
Nix
Raw Normal View History

2023-07-31 18:47:35 +00:00
{
lib,
wallpaper,
}: {
2023-07-31 18:08:25 +00:00
# Use `dconf watch /` to track stateful changes you are doing, then set them here.
"org/gnome/desktop/interface" = {
color-scheme = "prefer-dark";
2023-08-03 15:14:32 +00:00
gtk-theme = "Adwaita-dark";
2023-07-31 18:08:25 +00:00
};
2023-07-31 18:47:35 +00:00
"org/gnome/desktop/background" = let
width = 3840;
height = 2160;
in {
picture-uri = "file://${wallpaper.override {
preset = "nord-snow-aurora";
inherit width;
inherit height;
}}/share/wallpapers/nixos-wallpaper.png";
picture-uri-dark = "file://${wallpaper.override {
preset = "nord-night-aurora";
inherit width;
inherit height;
}}/share/wallpapers/nixos-wallpaper.png";
2023-07-31 18:08:25 +00:00
};
"org/gnome/desktop/wm/keybindings" = {
switch-to-workspace-left = ["<Alt>1"];
switch-to-workspace-right = ["<Alt>2"];
move-to-workspace-left = ["<Shift><Alt>1"];
move-to-workspace-right = ["<Shift><Alt>2"];
};
"org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0" = {
binding = "<Shift><Alt>a";
command = "kgx";
name = "Console";
};
"org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom1" = {
binding = "<Shift><Alt>f";
command = "nautilus";
name = "File Manager";
};
"org/gnome/settings-daemon/plugins/media-keys" = {
custom-keybindings = [
"/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0/"
"/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom1/"
];
};
2023-08-09 16:09:10 +00:00
"org/gnome/settings-daemon/plugins/power" = {
2023-08-10 12:43:45 +00:00
sleep-inactive-ac-type = "nothing"; # Automatic suspend/hibernation creates a suspend/hibernation loop
power-button-action = "suspend";
2023-08-09 16:09:10 +00:00
};
2023-07-31 18:08:25 +00:00
"org/gnome/mutter" = {
edge-tiling = true;
dynamic-workspaces = true;
};
2023-07-31 18:47:35 +00:00
"org/gnome/Console" = {
theme = "auto";
};
2023-08-01 19:07:54 +00:00
"org/gnome/shell" = {
disable-user-extensions = false;
enabled-extensions = [
"quick-settings-audio-panel@rayzeq.github.io"
2023-08-02 14:41:33 +00:00
"places-menu@gnome-shell-extensions.gcampax.github.com"
"launch-new-instance@gnome-shell-extensions.gcampax.github.com"
2023-08-02 15:55:41 +00:00
"trayIconsReloaded@selfmade.pl"
2023-08-10 12:43:45 +00:00
"espresso@coadmunkee.github.com"
2023-08-01 19:07:54 +00:00
];
};
2023-07-31 18:08:25 +00:00
}