From 59c1ca606ae0b38920d00f08979aedf898b02e2e Mon Sep 17 00:00:00 2001 From: "dedal.qq" Date: Fri, 10 May 2024 14:33:01 +0300 Subject: [PATCH] commit --- Makefile | 21 ++++++++++---- README.md | 81 ++++++++++++++++++++++++++++++++++++++++++++++++++++- valve-repos | 6 ++++ 3 files changed, 101 insertions(+), 7 deletions(-) diff --git a/Makefile b/Makefile index a3a0acd..2f120ed 100644 --- a/Makefile +++ b/Makefile @@ -10,9 +10,9 @@ mount: mkdir -p $(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: pacstrap -K -C ./pacman.conf $(MNT-PATH) \ @@ -24,10 +24,13 @@ install-base: extra/zsh \ extra/vim \ extra/noto-fonts \ + extra/pipewire \ + extra/wireplumber \ + extra/pipewire-pulse \ + extra/noise-suppression-for-voice \ install-gnome: pacstrap -K -C ./pacman.conf $(MNT-PATH) \ - extra/pipewire-jack \ extra/gnome \ extra/gnome-extra \ @@ -38,15 +41,20 @@ install-jupiter: jupiter-3.5/jupiter-legacy-support \ jupiter-3.5/jupiter-fan-control \ 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-plugins \ + jupiter-3.5/bluez-libs \ jupiter-3.5/bluez-utils \ + jupiter-3.5/vpower \ + jupiter-3.5/vulkan-radeon \ + jupiter-3.5/lib32-vulkan-radeon \ install-steam: pacstrap -K -C ./pacman.conf $(MNT-PATH) \ jupiter-3.5/steam-jupiter-stable \ - jupiter-3.5/vulkan-radeon \ - jupiter-3.5/lib32-vulkan-radeon \ configure: genfstab -U $(MNT-PATH) >> $(MNT-PATH)/etc/fstab @@ -61,6 +69,7 @@ configure: update-pacman-config: 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: arch-chroot $(MNT-PATH) /bin/bash -c "echo "root:$(ROOT-PASSWORD)" | chpasswd" @@ -72,7 +81,7 @@ efiloader: efibootmgr \ --disk /dev/nvme0n1 \ --part 9 \ - --create --label "Arch Linux qq 2" \ + --create --label "Arch Linux" \ --loader /vmlinuz-linux-neptune-61 \ --unicode 'root=UUID=$(ROOT_UUID) rw initrd=\initramfs-linux-neptune-61.img $(KERNEL_ARGS)' \ --verbose diff --git a/README.md b/README.md index 9694c4e..99f742d 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,11 @@ 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 jupiter-dock-updater-bin @@ -24,4 +30,77 @@ jupiter-staging bluez-utils jupiter-staging mangohud holo-staging noise-suppression-for-voice-git holo-staging xone-dkms-git -holo-staging xow-git \ No newline at end of file +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 +``` diff --git a/valve-repos b/valve-repos index c9ec30d..7924063 100644 --- a/valve-repos +++ b/valve-repos @@ -2,18 +2,24 @@ ############# [jupiter-3.5] Server = https://steamdeck-packages.steamos.cloud/archlinux-mirror/$repo/os/$arch +SigLevel = Never [holo-3.5] Server = https://steamdeck-packages.steamos.cloud/archlinux-mirror/$repo/os/$arch +SigLevel = Never [core-3.5] Server = https://steamdeck-packages.steamos.cloud/archlinux-mirror/$repo/os/$arch +SigLevel = Never [extra-3.5] Server = https://steamdeck-packages.steamos.cloud/archlinux-mirror/$repo/os/$arch +SigLevel = Never [community-3.5] Server = https://steamdeck-packages.steamos.cloud/archlinux-mirror/$repo/os/$arch +SigLevel = Never [multilib-3.5] Server = https://steamdeck-packages.steamos.cloud/archlinux-mirror/$repo/os/$arch +SigLevel = Never \ No newline at end of file