blob: 6064a0229b60cdd1d4c02ac7cbe2af7613666d5d (
plain) (
blame)
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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
|
{config, pkgs, ...}:
{
require = [
<nixos/modules/programs/virtualbox.nix>
];
nix = {
maxJobs = 8;
useChroot = true;
readOnlyStore = true;
extraOptions = ''
build-cores = 0
'';
};
boot = {
cleanTmpDir = true;
loader.grub = {
enable = true;
version = 2;
};
};
hardware = {
cpu.intel.updateMicrocode = true;
pulseaudio.enable = true;
pulseaudio.package = pkgs.pulseaudio.override {
useSystemd = true;
};
};
users.defaultUserShell = "/var/run/current-system/sw/bin/zsh";
networking = {
wireless.enable = false;
};
fileSystems = {
/*
"/run/nix/remote-stores/mmrnmhrm/nix" = {
device = "root@mmrnmhrm:/nix";
fsType = "sshfs";
noCheck = true;
options = pkgs.lib.concatStringsSep "," [
"comment=x-systemd.automount"
"compression=yes"
"ssh_command=${pkgs.openssh}/bin/ssh"
"Ciphers=arcfour"
"IdentityFile=/root/.ssh/id_buildfarm"
];
};
*/
};
fonts = {
enableCoreFonts = true;
enableFontDir = true;
enableGhostscriptFonts = true;
extraFonts = [
pkgs.dosemu_fonts
pkgs.liberation_ttf
];
};
i18n = {
consoleKeyMap = "dvorak";
};
services = {
openssh = {
enable = true;
permitRootLogin = "without-password";
};
syslogd.tty = "tty13";
xfs.enable = false;
gpm = {
enable = true;
protocol = "exps2";
};
nixosManual.showManual = false;
pulseaudio.enable = false;
printing = {
enable = true;
drivers = [ pkgs.foo2zjs pkgs.foomatic_filters ];
};
xserver = {
enable = true;
layout = "dvorak";
windowManager = {
i3.enable = true;
default = "i3";
};
desktopManager.default = "none";
displayManager.slim.theme = pkgs.fetchurl {
url = "mirror://sourceforge/slim.berlios/slim-fingerprint.tar.gz";
sha256 = "0i1igl4iciml3d46n5hl3bbmqsdzzv56akw2l36i9f779kw07ds8";
};
};
};
/*
jobs.vlock_all = {
name = "vlock-all";
startOn = "keyboard-request";
path = [ pkgs.vlock ];
script = "vlock -asn";
task = true;
restartIfChanged = false;
};
*/
environment.nix = pkgs.nixUnstable;
environment.systemPackages = with pkgs; [
zsh
wget
vim_configurable
cacert
];
nixpkgs.config = import ./nixpkgs/config.nix;
system.fsPackages = with pkgs; [
sshfsFuse
];
# broken -> chroot build -> FIXME
#system.copySystemConfiguration = true;
time.timeZone = "Europe/Berlin";
}
|