-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdesktop.nix
92 lines (85 loc) · 2.38 KB
/
desktop.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
{ config, pkgs, ... }:
{
config = {
fonts = {
enableFontDir = true;
enableGhostscriptFonts = true;
fonts = with pkgs; [
# corefonts # Micrsoft free fonts
inconsolata # monospaced.
terminus_font
hasklig
ubuntu_font_family # Ubuntu fonts
unifont # some international languages
# google-fonts Warning : It's slow down LibreOffice
cm_unicode
xits-math
dejavu_fonts
noto-fonts
noto-fonts-cjk
emojione
font-awesome-ttf
iosevka
];
};
# Enable the X11 windowing system.
services.xserver = {
enable = true;
layout = "ca_multi";
libinput.enable = true;
wacom.enable = true;
# xserver.exportConfiguration = true;
# powerManagement.enable = true;
# services.xserver.xkbOptions = "eurosign:e";
autorun = true;
# Legacy input sources
# xserver.synaptics.enable = true;
# xserver.multitouch.enable = true;
desktopManager.gnome3.enable = true;
displayManager.lightdm.enable = true;
videoDrivers = [ "nvidiaBeta" ];
};
# Configure packages
nixpkgs = {
config = {
steam = pkgs.steam.override {
nativeOnly = true;
newStdcpp = true;
};
curl = pkgs.curl.override {
sslSupport = true;
};
firefox = {
icedtea = true;
enableGoogleTalkPlugin = true;
enableAdobeFlash = true;
enableGnomeExtensions = true;
pulseaudio = true;
};
chromium = {
icedtea = true;
enablePepperFlash = true; # Chromium removed support for Mozilla (NPAPI) plugins so Adobe Flash no longer works
enablePepperPDF = true;
pulseSupport = true;
gnomeSupport = true; # that should permit app to create tray entry
};
allowUnfree = true;
packageOverrides = pkgs: with pkgs; {
pidgin-with-plugins = pkgs.pidgin-with-plugins.override {
plugins = [ pidginsipe ];
};
};
emacs = pkgs.emacs25.override {
withGTK3 = true;
withGTK2 = false;
withXwidgets = true;
};
gnucash = pkgs.gnucash.override {
libmysql = true;
sqlite = true;
postgresql = true;
};
};
};
};
}