home-manager/systems/common/gnome.nix

113 lines
3.1 KiB
Nix
Raw Normal View History

2023-07-31 18:47:35 +00:00
{
2023-08-26 16:35:30 +00:00
pkgs,
2023-07-31 18:47:35 +00:00
wallpaper,
2023-08-26 16:35:30 +00:00
...
2023-07-31 18:47:35 +00:00
}: {
2023-09-24 23:29:53 +00:00
home.packages = with pkgs.gnomeExtensions; [
quick-settings-audio-panel
tray-icons-reloaded
espresso
pano
];
2023-08-26 16:35:30 +00:00
2023-09-24 23:29:53 +00:00
dconf.settings = {
# Use `dconf watch /` to track stateful changes you are doing, then set them here.
"org/gnome/shell" = {
disable-user-extensions = false;
enabled-extensions = [
"quick-settings-audio-panel@rayzeq.github.io"
"places-menu@gnome-shell-extensions.gcampax.github.com"
"launch-new-instance@gnome-shell-extensions.gcampax.github.com"
"trayIconsReloaded@selfmade.pl"
"espresso@coadmunkee.github.com"
"pano@elhan.io"
];
};
2023-08-26 16:35:30 +00:00
2023-09-24 23:29:53 +00:00
"org/gnome/desktop/interface" = {
color-scheme = "prefer-dark";
gtk-theme = "Adwaita-dark";
};
2023-08-26 16:35:30 +00:00
2023-09-24 23:29:53 +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";
2023-08-26 16:35:30 +00:00
2023-09-24 23:29:53 +00:00
picture-uri-dark = "file://${wallpaper.override {
preset = "nord-night-aurora";
inherit width;
inherit height;
}}/share/wallpapers/nixos-wallpaper.png";
};
2023-08-26 16:35:30 +00:00
2023-09-24 23:29:53 +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"];
};
2023-08-26 16:35:30 +00:00
2023-09-24 23:29:53 +00:00
"org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0" = {
binding = "<Shift><Alt>a";
command = "kgx";
name = "Console";
};
2023-08-26 16:35:30 +00:00
2023-09-24 23:29:53 +00:00
"org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom1" = {
binding = "<Shift><Alt>f";
command = "nautilus";
name = "File Manager";
};
2023-08-26 16:35:30 +00:00
2023-09-24 23:29:53 +00:00
"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-26 16:35:30 +00:00
2023-09-24 23:29:53 +00:00
"org/gnome/mutter" = {
edge-tiling = true;
dynamic-workspaces = true;
};
2023-08-26 16:35:30 +00:00
2023-09-24 23:29:53 +00:00
"org/gnome/Console" = {
theme = "auto";
};
2023-08-26 16:35:30 +00:00
2023-09-24 23:29:53 +00:00
"org/gnome/simple-scan" = {
text-dpi = 300;
};
2023-09-02 16:53:03 +00:00
2023-09-24 23:29:53 +00:00
"org/gnome/shell/extensions/pano" = {
play-audio-on-copy = false;
# This solves the stuttering issue for me.
# https://github.com/oae/gnome-shell-pano/issues/79
send-notification-on-copy = false;
};
2023-09-24 23:29:53 +00:00
"org/gnome/shell/extensions/espresso" = {
show-notifications = false;
2023-08-26 16:35:30 +00:00
};
"org/gnome/nautilus/preferences" = {
show-image-thumbnails = "always";
};
"org/gnome/Weather" = {
locations = "[<(uint32 2, <('Vienna', 'LOWW', true, [(0.83979426423570236, 0.2891428852314914)], [(0.84124869946126679, 0.28565222672750273)])>)>]";
};
"org/gnome/shell/weather" = {
automatic-location = true;
locations = "[<(uint32 2, <('Vienna', 'LOWW', true, [(0.83979426423570236, 0.2891428852314914)], [(0.84124869946126679, 0.28565222672750273)])>)>]";
};
2023-08-01 19:07:54 +00:00
};
2023-07-31 18:08:25 +00:00
}