-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathholodeck-traal.pkg.toml
143 lines (128 loc) · 3.55 KB
/
holodeck-traal.pkg.toml
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
142
143
[package]
name = "holodeck-traal"
version = "20211015.1"
description = "holodeck: services on Traal"
requires = [
"hologram-sway-desktop",
"hologram-monitoring-client",
"hologram-dev-tools",
"hologram-games",
"hologram-dtp",
"hologram-uefi-bootloader-with-luks",
"linux-headers", # for wireguard-dkms
# basic hardware support
"hologram-amd-ucode",
"wpa_supplicant",
"xf86-input-synaptics",
# power management
"tlp",
"x86_energy_perf_policy", # optional dependency for tlp
# support for AMD GPU
"xf86-video-amdgpu",
"libva-vdpau-driver",
"vulkan-radeon",
"lib32-vulkan-radeon",
"vulkan-icd-loader",
"lib32-vulkan-icd-loader",
"mesa-libgl",
"lib32-mesa-libgl",
"mesa-vdpau",
"lib32-mesa-vdpau",
"libva-mesa-driver",
"lib32-libva-mesa-driver",
# applications
"libreoffice-still",
"mpd",
"thunderbird",
"thunderbird-extension-enigmail",
]
# identity
[[file]]
path = "/etc/hostname"
content = "traal"
[[file]]
path = "/etc/profile.d/prettyprompt.sh"
content = """
export PRETTYPROMPT_COMMONUSER=stefan
export PRETTYPROMPT_HOSTCOLOR='0;34'
"""
# make SD card slot work
[[file]]
path = "/etc/modprobe.d/sdhci.conf"
content = 'options sdhci debug_quirks2="0x8000"'
# Xorg: enable palm detection on touchpad, enable tapping, disable coasting
[[file]]
path = "/etc/X11/xorg.conf.d/52-palm-detection.conf"
content = """
Section "InputClass"
Identifier "touchpad enable palm detection"
Driver "synaptics"
MatchIsTouchpad "on"
MatchDevicePath "/dev/input/event*"
Option "CoastingSpeed" "0"
Option "PalmDetect" "on"
Option "PalmMinWidth" "4"
Option "PalmMinZ" "1"
Option "TapButton1" "1"
Option "TapButton2" "2"
Option "TapButton3" "3"
EndSection
"""
# network setup: systemd-networkd
[[file]]
path = "/etc/systemd/network/dhcp.network"
content = """
[Match]
Name=wl* en*
[Network]
Description=Use DHCP on physical interfaces
DHCP=yes
[DHCP]
UseDomains=true
"""
# network setup: systemd-resolved
[[symlink]]
path = "/etc/systemd/system/multi-user.target.wants/systemd-resolved.service"
target = "/usr/lib/systemd/system/systemd-resolved.service"
[[symlink]]
path = "/usr/share/holo/files/50-krikkit/etc/resolv.conf"
target = "/run/systemd/resolve/resolv.conf"
# network setup: wpa_supplicant
[[file]]
path = "/etc/wpa_supplicant/wpa_supplicant-wlp4s0.conf"
contentFrom = "/dev/null"
[[file]]
path = "/usr/share/holo/files/50-krikkit/etc/wpa_supplicant/wpa_supplicant-wlp4s0.conf.holoscript"
mode = "0755"
content = '''
#!/bin/sh
cat /home/stefan/.wpa_supplicant.conf
cat /etc/wpa_supplicant/wpa_supplicant.conf
'''
[[symlink]]
path = "/etc/systemd/system/multi-user.target.wants/[email protected]"
target = "/usr/lib/systemd/system/[email protected]"
# no magic suspend
[[file]]
path = "/etc/systemd/logind.conf.d/no-magic-suspend.conf"
content = """
[Login]
HandlePowerKey=lock
HandleLidSwitch=ignore
"""
# enable TLP (laptop power-saving daemon)
[[symlink]]
path = "/etc/systemd/system/multi-user.target.wants/tlp.service"
target = "/usr/lib/systemd/system/tlp.service"
[[symlink]]
path = "/etc/systemd/system/sleep.target.wants/tlp-sleep.service"
target = "/usr/lib/systemd/system/tlp-sleep.service"
[[symlink]]
path = "/etc/systemd/system/NetworkManager.service"
target = "/dev/null"
[[symlink]]
path = "/etc/systemd/system/systemd-rfkill.service"
target = "/dev/null"
[[symlink]]
path = "/etc/systemd/system/systemd-rfkill.socket"
target = "/dev/null"