Skip to content

AxOS-project/axinstall

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

80 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Axinstall-cli

axinstall-cli is an installer backend for AxOS.

Backend usage

Autopartition the drive

# autopartition /dev/sda with efi enabled
# axinstall-cli partition auto /dev/sda --efi

# autopartition /dev/nvmen0 with efi disabled
# axinstall-cli partition auto /dev/nvmen0

Install base packages

# axinstall-cli install-base

Install bootloader

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

# install as legacy on /dev/sda
# axinstall-cli bootloader grub-legacy /dev/sda

Generate fstab

# axinstall-cli genfstab

Configuring locale settings

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

Configure network settings

# set the hostname to getcryst.al with ipv6 disabled
# axinstall-cli networking getcryst.al 

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

Setup swap

# enable swap
# axinstall-cli swap X # whhere X is the size in MiB

Configure users

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

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

Set root password

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

Install a desktop environment

# install onyx
# axinstall-cli desktops onyx

# install gnome
# axinstall-cli desktops gnome

Setup nvidia

# axinstall-cli nvidia

Setup keyring

# axinstall-cli setup-keyring

Install a user kit

# axinstall-cli user-kit artist
# axinstall-cli user-kit developer
# axinstall-cli user-kit hacker

Debug logging

debug messages:

# axinstall-cli -v

traces:

# axinstall-cli -vv

Non-secret Secret

$ echo "axinstall-cli_UWU=true" >> ~/.zshrc

$ echo "axinstall-cli_UWU=true" >> ~/.bashrc

$ set -Ux axinstall-cli_UWU true

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

🙌 Contributing

This project uses rustup, to set up cargo for Jade development, please follow the guidelines below:

Debug/development builds

  • cargo build

Optimised/release builds

  • cargo build --release

📜 License

GPLv3-only

Credits

This project is forked from Crystal Jade

About

AxOS installer backend

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •