-
Notifications
You must be signed in to change notification settings - Fork 2
/
holodeck-arcturus.pkg.toml
98 lines (85 loc) · 2.52 KB
/
holodeck-arcturus.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
[package]
name = "holodeck-arcturus"
version = "20240524.1"
description = "holodeck: services on Arcturus"
requires = [
"secrets", # this uses /usr/bin/replicator
"hologram-sway-desktop",
"hologram-kde-desktop", # used temporarily to work around <https://github.com/obsproject/obs-studio/issues/8170>
"hologram-bluetooth-audio",
"hologram-dev-tools",
"hologram-games",
"hologram-uefi-bootloader-with-luks",
"hologram-dtp",
"hologram-monitoring-client",
"hologram-arcturus-capture-card",
"linux-headers", # for wireguard-dkms in hologram-monitoring-client
# support for AMD CPU
"hologram-amd-ucode",
# 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",
# network setup
"wpa_supplicant",
# scanner setup
"sane",
"gscan2pdf",
# additional apps
"mpd",
]
# identity
[[file]]
path = "/etc/hostname"
content = "arcturus"
[[file]]
path = "/etc/profile.d/prettyprompt.sh"
content = """
export PRETTYPROMPT_COMMONUSER=stefan
export PRETTYPROMPT_HOSTCOLOR='0;37'
"""
# network setup: systemd-networkd
[[file]]
path = "/etc/systemd/network/lan.network"
content = """
[Match]
Name=en*
[Network]
Address=10.0.0.2/24
Gateway=10.0.0.1
DNS=10.0.0.1
"""
# 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-arcturus/etc/resolv.conf"
target = "/run/systemd/resolve/resolv.conf"
# scanner setup: device permissions
[[file]]
path = "/etc/udev/rules.d/49-custom-sane.rules"
content = '''
# HP PhotoSmart C3180
ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="5611", MODE="0664", GROUP="scanner", ENV{libsane_matched}="yes"
'''
# audio setup: never use HSP/HFP profile on Bluetooth headsets
# (i.e. prefer audio input from the mixing console instead)
#
# Inspired by: <https://wiki.archlinux.org/title/bluetooth_headset#Disable_PipeWire_HSP/HFP_profile>
# The full config file as shown there does not work, it just breaks connecting the headset entirely.
# But this single setting does what I need.
[[file]]
path = "/etc/wireplumber/wireplumber.conf.d/50-bluez.conf"
content = '''
monitor.bluez.properties = {
bluez5.hfphsp-backend = "none"
}
'''