commit 14064e1b1d9c81598274f83c409b54a5045c55c3 Author: timoxa0 Date: Sun Nov 3 00:42:56 2024 +0500 Initial commit diff --git a/ArchLinuxArmBase.lnibuild b/ArchLinuxArmBase.lnibuild new file mode 100644 index 0000000..60121d6 --- /dev/null +++ b/ArchLinuxArmBase.lnibuild @@ -0,0 +1,31 @@ +image_type="arch" +name="ArchLinuxBase" +imgver="$(date '+%Y-%m-%d')" +zram="y" + +pre_install=() + +base_system() +{ + fetch_base_system "$imageroot" "https://ca.us.mirror.archlinuxarm.org/os/ArchLinuxARM-aarch64-latest.tar.gz" +} + +packages=( + "sudo" + "bluez" + "bluez-utils" + "vulkan-freedreno" + "networkmanager" +) + +post_install() +{ + log "Enable Network Manager service" + chroot "$imageroot" systemctl enable NetworkManager + + log "Generating en_US locale" + sed -i "s/#en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/g" "$imageroot/etc/locale.gen" + chroot "$imageroot" locale-gen + echo "LANG=en_US.UTF-8" > "$imageroot/etc/locale.conf" + +} diff --git a/ArchLinuxArmGnome.lnibuild b/ArchLinuxArmGnome.lnibuild new file mode 100644 index 0000000..15fad04 --- /dev/null +++ b/ArchLinuxArmGnome.lnibuild @@ -0,0 +1,46 @@ +image_type="arch" +name="ArchLinuxGnome" +imgver="$(date '+%Y-%m-%d')" +zram="y" + +pre_install=() + +base_system() +{ + fetch_base_system "$imageroot" "https://ca.us.mirror.archlinuxarm.org/os/ArchLinuxARM-aarch64-latest.tar.gz" +} + +packages=( + "sudo" + "gdm" + "gnome-menus" + "gnome-backgrounds" + "gnome-control-center" + "gnome-keyring" + "xdg-user-dirs-gtk" + "nautilus" + "xdg-desktop-portal-gnome" + "gnome-console" + "bluez" + "bluez-utils" + "vulkan-freedreno" + "networkmanager" +) + +post_install() +{ + log "Enable Network Manager service" + chroot "$imageroot" systemctl enable NetworkManager + + log "Enable GDM service" + chroot "$imageroot" systemctl enable gdm + + log "Enable bluetooth service" + chroot "$imageroot" systemctl enable bluetooth + + log "Generating en_US locale" + sed -i "s/#en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/g" "$imageroot/etc/locale.gen" + chroot "$imageroot" locale-gen + echo "LANG=en_US.UTF-8" > "$imageroot/etc/locale.conf" + +} diff --git a/ArchLinuxArmPlasma.lnibuild b/ArchLinuxArmPlasma.lnibuild new file mode 100644 index 0000000..42a1604 --- /dev/null +++ b/ArchLinuxArmPlasma.lnibuild @@ -0,0 +1,50 @@ +image_type="arch" +name="ArchLinuxPlasma" +imgver="$(date '+%Y-%m-%d')" +zram="y" + +pre_install=() + +base_system() +{ + fetch_base_system "$imageroot" "https://ca.us.mirror.archlinuxarm.org/os/ArchLinuxARM-aarch64-latest.tar.gz" +} + +packages=( + "sudo" + "plasma" + "grub" + "konsole" + "dolphin" + "ark" + "bluez" + "bluez-utils" + "xorg-xrandr" + "xorg-xinput" + "qt5-virtualkeyboard" + "vulkan-freedreno" + "networkmanager" +) + +post_install() +{ + log "Enable Network Manager service" + chroot "$imageroot" systemctl enable NetworkManager + + log "Enable SDDM service" + chroot "$imageroot" systemctl enable sddm + + log "Enable bluetooth service" + chroot "$imageroot" systemctl enable bluetooth + + log "Configure SDDM" + cp ./drop/sddm.nabu.Xsetup "$imageroot/usr/share/sddm/scripts/Xsetup" + cp ./drop/sddm.nabu.conf "$imageroot/usr/lib/sddm/sddm.conf.d/nabu.conf" + chmod 755 "$imageroot/usr/share/sddm/scripts/Xsetup" + chmod 644 "$imageroot/usr/lib/sddm/sddm.conf.d/nabu.conf" + + log "Generating en_US locale" + sed -i "s/#en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/g" "$imageroot/etc/locale.gen" + chroot "$imageroot" locale-gen + echo "LANG=en_US.UTF-8" > "$imageroot/etc/locale.conf" +} diff --git a/Debian12Gnome.lnibuild b/Debian12Gnome.lnibuild new file mode 100644 index 0000000..4b2a7ba --- /dev/null +++ b/Debian12Gnome.lnibuild @@ -0,0 +1,36 @@ +image_type="deb" +name="Debian12-Gnome" +imgver="Bookworm-$(date '+%Y-%m-%d')" +zram="y" + +_branch="bookworm" +_components="main,contrib,non-free,non-free-firmware" +_repo="http://ftp.debian.org/debian" +_debootstrap_flags="--exclude=pulseaudio" + +pre_install=() + +base_system() { + fetch_base_system "$imageroot" "$_branch" "$_components" "$_repo" "$_debootstrap_flags" +} + +packages=( + "gnome-core" + "bash-completion" + "sudo" + "ssh" + "nano" +) + +post_install() { + log "Configuring gdm and GNOME" + + mkdir -p "$imageroot/etc/skel/.config" + cp ./drop/monitors.xml "$imageroot/etc/skel/.config/monitors.xml" + chroot "$imageroot" bash -c 'mkdir ~Debian-gdm/.config/' + chroot "$imageroot" bash -c 'chown Debian-gdm: ~Debian-gdm/.config/' + chroot "$imageroot" bash -c 'chmod 700 ~Debian-gdm/.config' + chroot "$imageroot" bash -c 'cp /etc/skel/.config/monitors.xml ~Debian-gdm/.config/' + chroot "$imageroot" bash -c 'chmod 644 ~Debian-gdm/.config/monitors.xml' + chroot "$imageroot" bash -c 'chown Debian-gdm: ~Debian-gdm/.config/monitors.xml' +} diff --git a/FedoraWorkstation40.lnibuild b/FedoraWorkstation40.lnibuild new file mode 100644 index 0000000..1604220 --- /dev/null +++ b/FedoraWorkstation40.lnibuild @@ -0,0 +1,15 @@ +image_type="fedora" +name="FedoraWorkstation" +imgver="40-$(date '+%Y-%m-%d')" +zram="y" + +pre_install=() + +base_system() +{ + fetch_base_system "$imageroot" 40 1.14 Workstation +} + +packages=() + +post_install=()