[presets] misc fixes

- update user module not to ask for a password
- ALMA_USER_PASSWORD env variable added
- update steam module
- update base module
This commit is contained in:
Philip Mueller 2023-06-23 12:57:35 +02:00
parent 88df8af4ed
commit 3f15f87a4a
3 changed files with 4 additions and 5 deletions

View File

@ -1 +1 @@
packages = ["linux61","linux61-broadcom-wl","linux-firmware","grub","efibootmgr","intel-ucode","amd-ucode","networkmanager"] packages = ["linux61", "linux61-broadcom-wl", "linux-firmware", "grub", "efibootmgr", "intel-ucode", "amd-ucode", "networkmanager"]

View File

@ -1,4 +1,4 @@
packages = ["steam", "gamescope-session-git", "gamescope-plus", "wget", "vulkan-icd-loader", "lib32-vulkan-icd-loader", "vulkan-intel", "lib32-vulkan-intel", "amdvlk", "lib32-amdvlk", "vulkan-radeon", "lib32-vulkan-radeon", "ttf-liberation", "ttf-kanit", "adobe-source-sans-pro-fonts", "adobe-source-han-sans-jp-fonts", "adobe-source-han-sans-kr-fonts", "adobe-source-han-sans-cn-fonts"] packages = ["steam", "gamescope-session-git", "gamescope-plus", "wget", "vulkan-icd-loader", "lib32-vulkan-icd-loader", "vulkan-intel", "lib32-vulkan-intel", "amdvlk", "lib32-amdvlk", "vulkan-radeon", "lib32-vulkan-radeon", "ttf-liberation", "adobe-source-sans-pro-fonts", "adobe-source-han-sans-jp-fonts", "adobe-source-han-sans-kr-fonts", "adobe-source-han-sans-cn-fonts"]
script = """ script = """
set -eux set -eux

View File

@ -2,9 +2,8 @@ packages = ["sudo"]
script = """ script = """
set -eux set -eux
useradd -m ${ALMA_USER} useradd -m ${ALMA_USER} -p $(openssl passwd -6 ${ALMA_USER_PASSWORD})
passwd ${ALMA_USER}
usermod -G users,lp,video,network,storage,wheel,audio -a ${ALMA_USER} usermod -G users,lp,video,network,storage,wheel,audio -a ${ALMA_USER}
echo "%wheel ALL=(ALL) ALL" > /etc/sudoers.d/wheel echo "%wheel ALL=(ALL) ALL" > /etc/sudoers.d/wheel
""" """
environment_variables = ["ALMA_USER"] environment_variables = ["ALMA_USER", "ALMA_USER_PASSWORD"]