-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgnome.nix
108 lines (99 loc) · 3.13 KB
/
gnome.nix
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
{ pkgs, ... }:
let
ge-notification-center = pkgs.stdenv.mkDerivation {
pname = "ge-notification-center";
version = "0.0.2";
src = pkgs.fetchzip {
url = "https://extensions.gnome.org/extension-data/notification-centerSelenium-H.v20.shell-extension.zip";
sha256 = "01f9pjny35cw62zrffhjhmsg863xz294d2hn5nqf7n3995qziz4m";
stripRoot = false;
};
installPhase = ''
mkdir -p $out
cp -r . $out
'';
};
ge-screenshot-tool = pkgs.stdenv.mkDerivation {
pname = "ge-screenshot-tool";
version = "0.0.2";
src = pkgs.fetchzip {
url = "https://extensions.gnome.org/extension-data/gnome-shell-screenshotttll.de.v56.shell-extension.zip";
sha256 = "07bg3fgg9k7wqyd746w75a12vzm93dn4wr3l1czd6864f4pmalpd";
stripRoot = false;
};
installPhase = ''
mkdir -p $out
cp -r . $out
'';
};
in
{
gtk = {
enable = true;
theme = {
package = pkgs.arc-theme;
name = "Arc-Dark";
};
};
home.packages = with pkgs; [
gnome3.dconf-editor
];
# permanent-notification
home.file.".local/share/gnome-shell/extensions/[email protected]".source = builtins.fetchGit {
url = "https://github.com/bonzini/gnome-shell-permanent-notifications";
} + "/[email protected]" ;
# notification-center
home.file.".local/share/gnome-shell/extensions/notification-center@Selenium-H".source = ge-notification-center;
#screenshot-tool
home.file.".local/share/gnome-shell/extensions/[email protected]".source = ge-screenshot-tool;
# topicons-plus
home.file.".local/share/gnome-shell/extensions/[email protected]".source = builtins.fetchGit {
url = "https://github.com/phocean/TopIcons-plus";
};
dconf.settings = {
"org/gnome/terminal/legacy/keybindings" = {
paste = "<Primary>v";
};
"org/gnome/shell/extensions/dash-to-dock" = {
custom-theme-shrink = false;
dash-max-icon-size = 32;
dock-fixed = false;
dock-position = "BOTTOM";
extend-height = false;
force-straight-corner = true;
multi-monitor = true;
preferred-monitor = 2;
show-show-apps-button = false;
};
"org/gnome/shell/extensions/topicons" = {
tray-pos = "right";
};
"org/gnome/shell/extensions/user-theme" = {
name = "Arc-Dark";
};
"org/gnome/shell/extensions/notification-center" = {
autohide = 0;
banner-pos = "center";
indicator-pos = "right";
};
"org/gnome/shell" = {
enabled-extensions = [
"notification-center@Selenium-H"
];
favorite-apps = [
"org.gnome.Nautilus.desktop"
"google-chrome.desktop"
"slack.desktop"
"teams.desktop"
"org.gnome.Terminal.desktop"
];
};
};
}