This repository has been archived by the owner on Jul 6, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathconfiguration.nix
112 lines (96 loc) · 2.5 KB
/
configuration.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
109
110
111
112
{ config, pkgs, ... }:
{
require = [
./common/base.nix
./common/no-beep.nix
./common/printing.nix
## Networking
#./common/wicd.nix
./common/wpa_supplicant.nix
## Window manager
#./common/xmonad.nix
./common/i3.nix
## Desktop
#./common/xfce.nix
## Hardware
./lenovo-t410.nix
];
time.timeZone = "America/Chicago";
environment = {
systemPackages = with pkgs; [
emacs
jackaudio
jre
MPlayer
vim
];
x11Packages = with pkgs; [
libreoffice # docs, spreadsheets, etc.
# xfce
gtk # To get GTK+'s themes
gnome.gnomeicontheme # more icons
hicolor_icon_theme # icons for thunar
shared_mime_info
xfce.exo
xfce.gtk_xfce_engine
xfce.gvfs # auto mounting
xfce.libxfce4ui
xfce.libxfcegui4
xfce.thunar # file manager
xfce.thunar_volman # auto mounting
xfce.xfceutils # this should be deleted
xfce.xfce4icontheme # for thunar
xfce.xfce4settings
xfce.xfconf
zathura # pdf viewer
];
# /var/run/current-system/sw/etc/profile
shellInit = ''
# ===================================
# SYSTEM WIDE CONFIGURATION GOES HERE
# ===================================
# Set GTK_PATH so that GTK+ can find the Xfce theme engine.
export GTK_PATH=${pkgs.xfce.gtk_xfce_engine}/lib/gtk-2.0
# Set GTK_DATA_PREFIX so that GTK+ can find the Xfce themes.
export GTK_DATA_PREFIX=${config.system.path}
# Set GIO_EXTRA_MODULES so that gvfs works.
export GIO_EXTRA_MODULES=${pkgs.xfce.gvfs}/lib/gio/modules
# Launch xfce settings daemon.
xfsettingsd &
# ===================================
'';
pathsToLink =
[ "/share/xfce4" "/share/themes" "/share/mime" "/share/desktop-directories"];
};
fonts = {
enableFontDir = true;
enableGhostscriptFonts = true;
extraFonts = with pkgs; [
# andagii
# anonymousPro
# arkpandora_ttf
# bakoma_ttf
# cantarell_fonts
corefonts
# clearlyU
# cm_unicode
dejavu_fonts
# freefont_ttf
# gentium
inconsolata
liberation_ttf
# libertine
# lmodern
# mph_2b_damase
# oldstandard
# theano
# tempora_lgc
terminus_font
ttf_bitstream_vera
# ucsFonts
# unifont
vistafonts
# wqy_zenhei
];
};
}