-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathholodeck-tabibito.pkg.toml
108 lines (95 loc) · 2.55 KB
/
holodeck-tabibito.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
[package]
name = "holodeck-tabibito"
version = "20240702.1"
description = "holodeck: services on Tabibito"
requires = [
"hologram-sway-desktop",
"hologram-bluetooth-audio",
"hologram-monitoring-client",
"hologram-dev-tools",
"hologram-games",
"hologram-dtp",
"hologram-uefi-bootloader-with-luks",
# basic hardware support
"hologram-intel-ucode",
"wpa_supplicant",
"xf86-input-synaptics",
# support for Intel GPU
"xf86-video-intel",
"libva-vdpau-driver",
"vulkan-intel",
"lib32-vulkan-intel",
"vulkan-icd-loader",
"lib32-vulkan-icd-loader",
"mesa-libgl",
"lib32-mesa-libgl",
"intel-media-driver",
# applications
"libreoffice-still",
"mpd",
# TODO: tlp or powertop
]
# identity
[[file]]
path = "/etc/hostname"
content = "tabibito"
[[file]]
path = "/etc/profile.d/prettyprompt.sh"
content = """
export PRETTYPROMPT_COMMONUSER=stefan
export PRETTYPROMPT_HOSTCOLOR='0;34'
"""
# 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
# the company network's DHCP advertises NTP servers that are bogus and do not work
[DHCPv4]
UseNTP=false
"""
# 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-tabibito/etc/resolv.conf"
target = "/run/systemd/resolve/resolv.conf"
# network setup: wpa_supplicant
[[file]]
path = "/etc/wpa_supplicant/wpa_supplicant-wlp170s0.conf"
contentFrom = "/dev/null"
[[file]]
path = "/usr/share/holo/files/50-tabibito/etc/wpa_supplicant/wpa_supplicant-wlp170s0.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
"""
[[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"