diff --git a/first-boot.sh b/first-boot.sh index ee64e79..bf0be3b 100755 --- a/first-boot.sh +++ b/first-boot.sh @@ -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 "install base tools" "pacman -Sy --noconfirm \ 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 \ ansible python3 gcc make cmake nodejs npm clang \ arm-none-eabi-gcc arm-none-eabi-newlib chezmoi" -run root "install gnome" "pacman -S --noconfirm gnome" -run root "enable gnome" "systemctl enable gdm.service" +# run root "install gnome" "pacman -S --noconfirm gnome" +# 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 "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" echo