commit
75201da2ae
@ -1,8 +1,3 @@
|
|||||||
*.iso
|
*.iso
|
||||||
*.tar.gz
|
|
||||||
sysroot/
|
|
||||||
sysroot.*
|
|
||||||
crystal/pacman.conf
|
|
||||||
crystal/airootfs/etc/pacman.conf
|
crystal/airootfs/etc/pacman.conf
|
||||||
repo/
|
crystal/airootfs/etc/buildstamp
|
||||||
chrooted.sh
|
|
||||||
|
@ -0,0 +1,34 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
echo "Chrooted in the new system, running as $(whoami)"
|
||||||
|
|
||||||
|
# Compile GSchemas
|
||||||
|
glib-compile-schemas /usr/share/glib-2.0/schemas
|
||||||
|
|
||||||
|
# User setup
|
||||||
|
useradd -mG wheel crystal
|
||||||
|
usermod -c "Password // \"crystal\"" crystal
|
||||||
|
usermod -p $(echo "crystal" | openssl passwd -6 -stdin) crystal
|
||||||
|
usermod -p $(echo "crystal" | openssl passwd -6 -stdin) root
|
||||||
|
chsh -s /usr/bin/zsh crystal
|
||||||
|
|
||||||
|
# Install Jade's GUI
|
||||||
|
flatpak install -y --noninteractive /usr/share/jade-gui/jade-gui.flatpak
|
||||||
|
|
||||||
|
# Desktop icon for Jade's GUI
|
||||||
|
mkdir -p /home/crystal/Desktop
|
||||||
|
cp \
|
||||||
|
/var/lib/flatpak/exports/share/applications/al.getcryst.jadegui.desktop \
|
||||||
|
/home/crystal/Desktop/Install.desktop
|
||||||
|
chown -R crystal:crystal /home/crystal/
|
||||||
|
|
||||||
|
# Services
|
||||||
|
systemctl enable NetworkManager
|
||||||
|
systemctl enable mirrorlist
|
||||||
|
systemctl enable gdm
|
||||||
|
|
||||||
|
# Hostname and Locale
|
||||||
|
echo "crystal-live" > /etc/hostname
|
||||||
|
echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen
|
||||||
|
locale-gen
|
||||||
|
echo "LANG=en_US.UTF-8" > /etc/locale.conf
|
||||||
|
echo "Configured the system. Exiting chroot."
|
@ -1 +0,0 @@
|
|||||||
Built on 07/29/22 @ 23:50:24 EST
|
|
@ -1 +0,0 @@
|
|||||||
#heeho
|
|
@ -1,15 +0,0 @@
|
|||||||
################################################################################
|
|
||||||
################# Arch Linux mirrorlist generated by Reflector #################
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
# With: reflector @/etc/xdg/reflector/reflector.conf
|
|
||||||
# When: 2022-07-29 20:11:36 UTC
|
|
||||||
# From: https://archlinux.org/mirrors/status/json/
|
|
||||||
# Retrieved: 2022-07-29 20:11:36 UTC
|
|
||||||
# Last Check: 2022-07-29 19:49:23 UTC
|
|
||||||
|
|
||||||
Server = https://mirror.theo546.fr/archlinux/$repo/os/$arch
|
|
||||||
Server = https://america.mirror.pkgbuild.com/$repo/os/$arch
|
|
||||||
Server = https://europe.mirror.pkgbuild.com/$repo/os/$arch
|
|
||||||
Server = https://geo.mirror.pkgbuild.com/$repo/os/$arch
|
|
||||||
Server = https://sydney.mirror.pkgbuild.com/$repo/os/$arch
|
|
@ -1,5 +1,4 @@
|
|||||||
Defaults env_keep += "PATH"
|
Defaults env_keep += "PATH"
|
||||||
Defaults insults
|
|
||||||
|
|
||||||
root ALL=(ALL) NOPASSWD: ALL
|
root ALL=(ALL) NOPASSWD: ALL
|
||||||
%wheel ALL=(ALL) NOPASSWD: ALL
|
%wheel ALL=(ALL) NOPASSWD: ALL
|
@ -1 +0,0 @@
|
|||||||
/usr/lib/systemd/system/cloud-config.service
|
|
@ -1 +0,0 @@
|
|||||||
/usr/lib/systemd/system/cloud-final.service
|
|
@ -1 +0,0 @@
|
|||||||
/usr/lib/systemd/system/cloud-init-local.service
|
|
@ -1 +0,0 @@
|
|||||||
/usr/lib/systemd/system/cloud-init.service
|
|
@ -1,3 +0,0 @@
|
|||||||
[Service]
|
|
||||||
ExecStart=
|
|
||||||
ExecStart=-/sbin/agetty --autologin crystal --noclear %I 38400 linux
|
|
@ -1,12 +0,0 @@
|
|||||||
[Unit]
|
|
||||||
Description=Installs Jade's GUI counterpart
|
|
||||||
Before=gdm.service
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
Type=oneshot
|
|
||||||
RemainAfterExit=yes
|
|
||||||
ExecStart=/bin/mount -o remount,size=2G /run/archiso/cowspace
|
|
||||||
ExecStart=/bin/flatpak install -y --noninteractive /usr/share/jade-gui/jade-gui.flatpak
|
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=multi-user.target
|
|
@ -0,0 +1,11 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=Generates Base Crystal ISO Mirrorlist
|
||||||
|
Requires=network-online.target
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=oneshot
|
||||||
|
RemainAfterExit=yes
|
||||||
|
ExecStart=/bin/bash -c "reflector > /etc/pacman.d/mirrorlist"
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
@ -0,0 +1,2 @@
|
|||||||
|
[org.gnome.desktop.screensaver]
|
||||||
|
lock-enabled=true
|
@ -1 +0,0 @@
|
|||||||
21/06/2022 - from now on commit to this file to trigger a build lol, think of it like a weird message board - michal
|
|
Loading…
Reference in New Issue