This commit is contained in:
dedal.qq 2024-05-10 14:33:01 +03:00
parent e662754088
commit 59c1ca606a
3 changed files with 101 additions and 7 deletions

View File

@ -10,9 +10,9 @@ mount:
mkdir -p $(MNT-PATH)/boot mkdir -p $(MNT-PATH)/boot
mount $(BOOT-DEV) $(MNT-PATH)/boot mount $(BOOT-DEV) $(MNT-PATH)/boot
install: install-base install-jupiter install-gnome install-steam install-packages: install-base install-jupiter install-gnome install-steam
system: install configure update-pacman-config user move-conn system: install-packages configure update-pacman-config user move-conn
install-base: install-base:
pacstrap -K -C ./pacman.conf $(MNT-PATH) \ pacstrap -K -C ./pacman.conf $(MNT-PATH) \
@ -24,10 +24,13 @@ install-base:
extra/zsh \ extra/zsh \
extra/vim \ extra/vim \
extra/noto-fonts \ extra/noto-fonts \
extra/pipewire \
extra/wireplumber \
extra/pipewire-pulse \
extra/noise-suppression-for-voice \
install-gnome: install-gnome:
pacstrap -K -C ./pacman.conf $(MNT-PATH) \ pacstrap -K -C ./pacman.conf $(MNT-PATH) \
extra/pipewire-jack \
extra/gnome \ extra/gnome \
extra/gnome-extra \ extra/gnome-extra \
@ -38,15 +41,20 @@ install-jupiter:
jupiter-3.5/jupiter-legacy-support \ jupiter-3.5/jupiter-legacy-support \
jupiter-3.5/jupiter-fan-control \ jupiter-3.5/jupiter-fan-control \
jupiter-3.5/jupiter-hw-support \ jupiter-3.5/jupiter-hw-support \
jupiter-3.5/steamdeck-dsp \
jupiter-3.5/alsa-ucm-conf \
jupiter-3.5/alsa-card-profiles \
jupiter-3.5/bluez \ jupiter-3.5/bluez \
jupiter-3.5/bluez-plugins \ jupiter-3.5/bluez-plugins \
jupiter-3.5/bluez-libs \
jupiter-3.5/bluez-utils \ jupiter-3.5/bluez-utils \
jupiter-3.5/vpower \
jupiter-3.5/vulkan-radeon \
jupiter-3.5/lib32-vulkan-radeon \
install-steam: install-steam:
pacstrap -K -C ./pacman.conf $(MNT-PATH) \ pacstrap -K -C ./pacman.conf $(MNT-PATH) \
jupiter-3.5/steam-jupiter-stable \ jupiter-3.5/steam-jupiter-stable \
jupiter-3.5/vulkan-radeon \
jupiter-3.5/lib32-vulkan-radeon \
configure: configure:
genfstab -U $(MNT-PATH) >> $(MNT-PATH)/etc/fstab genfstab -U $(MNT-PATH) >> $(MNT-PATH)/etc/fstab
@ -61,6 +69,7 @@ configure:
update-pacman-config: update-pacman-config:
cat valve-repos >> $(MNT-PATH)/etc/pacman.conf cat valve-repos >> $(MNT-PATH)/etc/pacman.conf
echo 'Server = https://mirror.yandex.ru/archlinux/$$repo/os/$$arch' > $(MNT-PATH)/etc/pacman.d/mirrorlist
user: user:
arch-chroot $(MNT-PATH) /bin/bash -c "echo "root:$(ROOT-PASSWORD)" | chpasswd" arch-chroot $(MNT-PATH) /bin/bash -c "echo "root:$(ROOT-PASSWORD)" | chpasswd"
@ -72,7 +81,7 @@ efiloader:
efibootmgr \ efibootmgr \
--disk /dev/nvme0n1 \ --disk /dev/nvme0n1 \
--part 9 \ --part 9 \
--create --label "Arch Linux qq 2" \ --create --label "Arch Linux" \
--loader /vmlinuz-linux-neptune-61 \ --loader /vmlinuz-linux-neptune-61 \
--unicode 'root=UUID=$(ROOT_UUID) rw initrd=\initramfs-linux-neptune-61.img $(KERNEL_ARGS)' \ --unicode 'root=UUID=$(ROOT_UUID) rw initrd=\initramfs-linux-neptune-61.img $(KERNEL_ARGS)' \
--verbose --verbose

View File

@ -1,5 +1,11 @@
https://www.reddit.com/r/SteamDeck/comments/yq26a5/vanilla_arch_jupiterholo_repos/ https://www.reddit.com/r/SteamDeck/comments/yq26a5/vanilla_arch_jupiterholo_repos/
https://steamcommunity.com/app/1675200/discussions/0/4038102480396152594/
https://clbin.com/0Awp0
noise-suppression-for-voice
```
jupiter-staging gamescope jupiter-staging gamescope
jupiter-staging jupiter-dock-updater-bin jupiter-staging jupiter-dock-updater-bin
@ -25,3 +31,76 @@ jupiter-staging mangohud
holo-staging noise-suppression-for-voice-git holo-staging noise-suppression-for-voice-git
holo-staging xone-dkms-git holo-staging xone-dkms-git
holo-staging xow-git holo-staging xow-git
```
==========
# cat /usr/lib/systemd/system/systemd-logind.service
```
# SPDX-License-Identifier: LGPL-2.1-or-later
#
# This file is part of systemd.
#
# systemd is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2.1 of the License, or
# (at your option) any later version.
[Unit]
Description=User Login Management
Documentation=man:sd-login(3)
Documentation=man:systemd-logind.service(8)
Documentation=man:logind.conf(5)
Documentation=man:org.freedesktop.login1(5)
Wants=user.slice modprobe@drm.service
After=nss-user-lookup.target user.slice modprobe@drm.service
# Ask for the dbus socket.
Wants=dbus.socket
After=dbus.socket
[Service]
BusName=org.freedesktop.login1
CapabilityBoundingSet=CAP_SYS_ADMIN CAP_MAC_ADMIN CAP_AUDIT_CONTROL CAP_CHOWN CAP_DAC_READ_SEARCH CAP_DAC_OVERRIDE CAP_FOWNER CAP_SYS_TTY_CONFIG CAP_LINUX_IMMUTABLE
DeviceAllow=block-* r
DeviceAllow=char-/dev/console rw
DeviceAllow=char-drm rw
DeviceAllow=char-input rw
DeviceAllow=char-tty rw
DeviceAllow=char-vcs rw
ExecStart=/usr/lib/systemd/systemd-logind
FileDescriptorStoreMax=512
IPAddressDeny=any
LockPersonality=yes
MemoryDenyWriteExecute=yes
NoNewPrivileges=yes
PrivateTmp=yes
# We don't use ProtectProc= since we need to look for usernames and tty for wall messages
ProtectClock=yes
ProtectControlGroups=yes
ProtectHome=yes
ProtectHostname=yes
ProtectKernelLogs=yes
ProtectKernelModules=yes
ProtectSystem=strict
ReadWritePaths=/etc /run
Restart=always
RestartSec=0
RestrictAddressFamilies=AF_UNIX AF_NETLINK
RestrictNamespaces=yes
RestrictRealtime=yes
RestrictSUIDSGID=yes
RuntimeDirectory=systemd/sessions systemd/seats systemd/users systemd/inhibit systemd/shutdown
RuntimeDirectoryPreserve=yes
StateDirectory=systemd/linger
SystemCallArchitectures=native
SystemCallErrorNumber=EPERM
SystemCallFilter=@system-service
Type=notify-reload
WatchdogSec=3min
# Increase the default a bit in order to allow many simultaneous logins since
# we keep one fd open per session.
LimitNOFILE=524288
```

View File

@ -2,18 +2,24 @@
############# #############
[jupiter-3.5] [jupiter-3.5]
Server = https://steamdeck-packages.steamos.cloud/archlinux-mirror/$repo/os/$arch Server = https://steamdeck-packages.steamos.cloud/archlinux-mirror/$repo/os/$arch
SigLevel = Never
[holo-3.5] [holo-3.5]
Server = https://steamdeck-packages.steamos.cloud/archlinux-mirror/$repo/os/$arch Server = https://steamdeck-packages.steamos.cloud/archlinux-mirror/$repo/os/$arch
SigLevel = Never
[core-3.5] [core-3.5]
Server = https://steamdeck-packages.steamos.cloud/archlinux-mirror/$repo/os/$arch Server = https://steamdeck-packages.steamos.cloud/archlinux-mirror/$repo/os/$arch
SigLevel = Never
[extra-3.5] [extra-3.5]
Server = https://steamdeck-packages.steamos.cloud/archlinux-mirror/$repo/os/$arch Server = https://steamdeck-packages.steamos.cloud/archlinux-mirror/$repo/os/$arch
SigLevel = Never
[community-3.5] [community-3.5]
Server = https://steamdeck-packages.steamos.cloud/archlinux-mirror/$repo/os/$arch Server = https://steamdeck-packages.steamos.cloud/archlinux-mirror/$repo/os/$arch
SigLevel = Never
[multilib-3.5] [multilib-3.5]
Server = https://steamdeck-packages.steamos.cloud/archlinux-mirror/$repo/os/$arch Server = https://steamdeck-packages.steamos.cloud/archlinux-mirror/$repo/os/$arch
SigLevel = Never