blob: f29901c699aa88f511a0e0f2bc2492c9d9845d8b (
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
|
{ pkgs, modulesPath, lib, ... }: {
imports = [
(modulesPath + "/installer/cd-dvd/installation-cd-minimal.nix")
];
isoImage.edition = lib.mkForce "handmade";
services.getty.helpLine = lib.mkForce ''
The "nixos" and "root" accounts have empty passwords.
If you need a wireless connection, type
`sudo systemctl start wpa_supplicant` and configure a
network using `wpa_cli`. See the NixOS manual (`nixos-help`)
for details.
Run `startx` to start the graphical user interface.
'';
environment.systemPackages = with pkgs; [
# General CLI
busybox git texinfo lsof tree bc
# Hardware managment
lshw lm_sensors efibootmgr usbutils cdrtools pipewire bluez
unetbootin
# Laptop
brightnessctl upower
# X11 utilities
xorg.xev xfontsel xorg.xmodmap xorg.xwininfo
xdotool xorg.setxkbmap xclip wmctrl
pavucontrol
# X11 file utilities
xarchiver firefox
# Data recovery
gparted testdisk extundelete ext4magic
gptfdisk
# Other
memtest86plus memtester
];
services.xserver = {
enable = true;
windowManager.icewm.enable = true;
displayManager.startx = {
enable = true;
generateScript = true;
extraCommands = ''
xterm -bg black -fg white -fs 12 -geometry 87x54+0+0 &
BROWSER=${pkgs.w3m}/bin/w3m xterm -fs 12 -geometry 80x54+532+0 -e nixos-help &
'';
};
};
programs.mtr.enable = true;
services.libinput = {
enable = true;
touchpad.naturalScrolling = true;
};
fonts.packages = with pkgs; [
# Note to self: DO NOT INSTALL ADOBE FONTS!
corefonts vista-fonts liberation_ttf helvetica-neue-lt-std noto-fonts noto-fonts-color-emoji cm_unicode #symbola
# CJK
noto-fonts-cjk-sans arphic-ukai arphic-uming takao wqy_microhei wqy_zenhei
];
}
|