move to niri

This commit is contained in:
Laila van Reenen 2025-11-30 23:48:20 +01:00
parent aa393a453b
commit 4cc3556b8f
Signed by: LailaTheElf
GPG Key ID: 8A3EF0226518C12D

View File

@ -14,16 +14,27 @@ run root "start NetworkMaanger" "systemctl start NetworkManager.se
run root "wait for network" "while [[ 1 ]] ; do ping -c1 1.1.1.1 && break ; done" run root "wait for network" "while [[ 1 ]] ; do ping -c1 1.1.1.1 && break ; done"
run root "install base tools" "pacman -Sy --noconfirm \ run root "install base tools" "pacman -Sy --noconfirm \
usbutils dosfstools exfat-utils net-tools bind nmap libfido2 \ usbutils dosfstools exfat-utils net-tools bind nmap libfido2 \
base-devel vim neovim curl ncdu btop git flatpak screen" base-devel vim neovim helix curl ncdu btop git flatpak screen"
run root "install dev tools" "pacman -S --noconfirm \ run root "install dev tools" "pacman -S --noconfirm \
ansible python3 gcc make cmake nodejs npm clang \ ansible python3 gcc make cmake nodejs npm clang \
arm-none-eabi-gcc arm-none-eabi-newlib chezmoi" arm-none-eabi-gcc arm-none-eabi-newlib chezmoi"
run root "install gnome" "pacman -S --noconfirm gnome" # run root "install gnome" "pacman -S --noconfirm gnome"
run root "enable gnome" "systemctl enable gdm.service" # run root "enable gnome" "systemctl enable gdm.service"
run root "install niri" "pacman -S --noconfirm \
niri xwayland-satellite xdg-desktop-portal-gnome xdg-desktop-portal-gtk \
alacritty waybar qt6-multimedia-ffmpeg greetd-tuigreet walker"
run root "install docker" "pacman -S --noconfirm docker" run root "install docker" "pacman -S --noconfirm docker"
run root "add $USERNAME to docker group" "usermod -aG docker $USERNAME" run root "add $USERNAME to docker group" "usermod -aG docker $USERNAME"
run root "update polkit" "sed --in-place -e 's/wheel/admin/g' /usr/share/polkit-1/rules.d/50-default.rules" #TODO: gnome-keyring
#TODO: enable polkit
#TODO: setup swaylock
#TODO: setup tuigreet (greetd)
# paru -S dms-shell-bin matugen wl-clipboard cliphist cava
systemctl --user add-wants niri.service
run root "config polkit" "sed --in-place -e 's/wheel/admin/g' /usr/share/polkit-1/rules.d/50-default.rules"
run root "update fail lock" "sed --in-place -e 's/^deny = .*$/deny = 10/' -e 's/^unlock_time = .*$/unlock_time = 60/' /etc/security/faillock.conf" run root "update fail lock" "sed --in-place -e 's/^deny = .*$/deny = 10/' -e 's/^unlock_time = .*$/unlock_time = 60/' /etc/security/faillock.conf"
echo echo