blob: 8d51caf07106c1aeb4472adb211e492a1ced95c1 (
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
68
69
70
71
72
73
|
# SPDX-License-Identifier: GPL-2.0-only
{ pkgs, lib, ... }:
{
imports = [
./common.nix
];
hardware.pulseaudio = {
enable = true;
package = pkgs.pulseaudioFull;
};
security.polkit = {
enable = true;
extraConfig = ''
polkit.addRule(function(action, subject) {
if (subject.isInGroup("wheel")) {
return polkit.Result.YES;
}
});
'';
};
services.xserver = {
enable = true;
displayManager = {
gdm = {
enable = true;
autoSuspend = false;
};
autoLogin = {
enable = true;
user = "user";
};
};
desktopManager.gnome.enable = true;
};
users.users.user.extraGroups = [ "audio" "video" "input" ];
environment.systemPackages = with pkgs; [
firefox
gparted
pavucontrol
];
# Remove unnecessary stuff
services = {
gnome = {
evolution-data-server.enable = lib.mkForce false;
gnome-online-accounts.enable = lib.mkForce false;
gnome-online-miners.enable = lib.mkForce false;
gnome-initial-setup.enable = lib.mkForce false;
gnome-browser-connector.enable = lib.mkForce false;
};
telepathy.enable = lib.mkForce false;
dleyna-renderer.enable = lib.mkForce false;
dleyna-server.enable = lib.mkForce false;
};
programs.geary.enable = lib.mkForce false;
environment.gnome.excludePackages = with pkgs; [
gnome.gnome-weather
gnome.epiphany
gnome.gnome-contacts
gnome-photos
gnome.gnome-music
yelp
];
}
|