Skip to content
This repository has been archived by the owner on Sep 17, 2024. It is now read-only.

Latest commit

 

History

History
executable file
·
141 lines (109 loc) · 3.73 KB

README.md

File metadata and controls

executable file
·
141 lines (109 loc) · 3.73 KB

THIS PROJECT HAS BEEN MIGRATED TO GITLAB

Please make any PRs here, rather than to the GitHub: https://git.getcryst.al/crystal

REPOSITORIES HERE ARE OUTDATED, GO TO THE LINK BELOW

Logo

Jade

License GitHub isses GitHub pull requests
Discord The Mastodon Follow Twitter Follow

Jade is an installer backend for crystal linux.

Backend usage

autopartition the drive

# autopartition /dev/sda with efi enabled
jade partition auto /dev/sda --efi

# autopartition /dev/nvmen0 with efi disabled
jade partition auto /dev/nvmen0

install base packages

jade install-base

install bootloader

# install as efi with esp being /boot/efi
jade bootloader grub-efi /boot/efi

# install as legacy on /dev/sda
jade bootloader grub-legacy /dev/sda

generate fstab

jade genfstab

configuring locale settings

# set the keyboard layout to colemak, the timezone to Europe/Berlin and set en_US.UTF-8 as the locale
jade locale colemak Europe/Berlin en_US.UTF-8 UTF-8

configure network settings

# set the hostname to getcryst.al with ipv6 disabled
jade networking getcryst.al 

# set the hostname to getcryst.al with ipv6 enabled
jade networking getcryst.al --ipv6

setup zramd

# install and enable zramd
jade zramd

configure users

# make a new user called nonRootHaver, without sudo, easytohack as the password and bash as the default shell
jade users new-user nonRootHaver easytohack bash

# make a user called rootHaver, with sudo, omgsosuperhardtohack as the password and fish as the default shell
jade users new-user rootHaver omgsuperhardtohack fish --hasroot

set root password

# set the root password to 'muchSecurity,veryHardToHack'
jade users root-password muchSecurity,veryHardToHack

install a desktop environment

# install onyx
jade desktops onyx

# install gnome
jade desktops gnome

setup timeshift

jade setup-timeshift

setup flatpak

jade flatpak

debug logging

debug messages:

jade -v

traces:

jade -vv

How to build:

Tested on latest Cargo (1.60.0-nightly)


Debug/development builds

  • cargo build

Optimised/release builds

  • cargo build --release

Non-secret Secret

echo "JADE_UWU=true" >> ~/.zshrc
echo "JADE_UWU=true" >> ~/.bashrc
set -Ux JADE_UWU true

if you want to have your log and crash output be “cute”