blob: 9b248eafd16387608a9433f84fe2fafedf0ebcff (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
|
{
pkgs,
config,
lib,
...
}: let
cfg = config.collinux.desktop.gnome;
in
lib.mkIf cfg.enable {
home.packages = with pkgs.gnomeExtensions; [
blur-my-shell
dash-to-dock
];
dconf = {
enable = true;
settings = {
"org/gnome/mutter" = {
workspaces-only-on-primary = false;
};
"org/gnome/shell/app-switcher" = {
current-workspace-only = true;
};
# Idle settings
"org/gnome/desktop/session" = {
idle-delay = 0;
};
"org/gnome/settings-daemon/plugins/power" = {
sleep-inactive-ac-type = "nothing";
};
# Keybindings
"org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0" = {
binding = "<Super>Return";
command = "blackbox";
name = "Terminal";
};
"org/gnome/settings-daemon/plugins/media-keys" = {
custom-keybindings = [
"/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0/"
];
};
# Background
"org/gnome/desktop/background" = rec {
picture-uri = "file://${pkgs.gnome-backgrounds}/share/backgrounds/gnome/blobs-d.svg";
picture-uri-dark = picture-uri;
};
# Extensions
"org/gnome/shell" = {
disable-user-extensions = false;
enabled-extensions = with pkgs.gnomeExtensions; [
blur-my-shell.extensionUuid
dash-to-dock.extensionUuid
];
};
"org/gnome/shell/extensions/dash-to-dock" = {
dash-max-icon-size = 48;
show-trash = false;
show-mounts = false;
};
};
};
}
|