-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgnome.nix
66 lines (58 loc) · 1.63 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
{ pkgs, ... }:
{
# Enable GNOME Desktop Environment
services.xserver = {
enable = true;
desktopManager = {
gnome.enable = true;
};
displayManager = {
gdm.enable = true;
};
};
# Disable GNOME's default applications
environment.gnome.excludePackages = with pkgs; [
cheese # Photo booth
epiphany # Web browser
geary # Email client
simple-scan # Document scanner
gnome-maps # Maps
gnome-tour # Tour
gnome-console # Console
];
# Systray Icons
environment.systemPackages = with pkgs; [
gnomeExtensions.appindicator
gnomeExtensions.blur-my-shell
gnome-tweaks
];
services.udev.packages = with pkgs; [ gnome-settings-daemon ];
# Workaround for GNOME autologin: https://github.com/NixOS/nixpkgs/issues/103746#issuecomment-945091229
systemd.services."getty@tty1".enable = false;
systemd.services."autovt@tty1".enable = false;
# dconf settings
home-manager.users.eduardo = {
dconf = {
enable = true;
settings = {
"org/gnome/desktop/peripherals/touchpad" = {
"tap-to-click" = true;
"two-finger-scrolling-enabled" = true;
};
"org/gnome/desktop/interface" = {
"text-scaling-factor" = 1.0;
};
"org.gnome.gnome-screenshot" = {
"auto-save-directory" = "file:///home/eduardo/Pictures/Screenshots";
};
"org/gnome/shell" = {
disable-user-extensions = false; # Enable user extensions
"enabled-extensions" = [
"blur-my-shell@aunetx"
];
};
};
};
};
}