Installation

LingmoNix Installation

LingmoNix's distro label is "linixos".

NixOS's installation steps are different of Debian, Arch Linux. We suggest that you need to read NixOS Manual First.

Install by NixOS

  1. Clone the repository

git clone --depth 1 https://github.com/LingmoOS-Testing/lingmo-nix.git

# Use GitHub CLI
gh repo clone LingmoOS-Testing/lingmo-nix
  1. Build specified NixOS "LinixOS" by generated configurations

cd lingmo-nix/etc
nixos-rebuild switch
# Or our suggested conmmand
NIXOS_LABEL="linixos" nixos-rebuild switch --option substituters "https://mirrors.ustc.edu.cn/store" -j 10 --cores 0
  1. Reboot and press Enter directly. And your NixOS will show two different generations.

Install in Generated ISO

LinixOS builds minimal ISO only. Because Graphcal ISO use NixOS Calamares Default Configurations.

  1. Check this article https://www.bilibili.com/read/cv19791217/ to complete networking, partitioning and mounting.

  2. Then run nixos-generate-config --root /mnt to generate default LinixOS Nix configurations. You need to uncomment:

  • Ln. 19 -> Grub Device

  • Ln. 21 -> Hostname (Default hostname: LingmoOS)

  • Ln. 24 -> Enable NetworkManager.

  • Ln. 27 -> TImezone (Default in Asia/Shanghai)

  • Ln. 34 -> Enable Internationalisation Properties (Locale)

  • Ln. 42~44 -> Enable Desktop Environment (Default DE: Pantheon)

  • Ln. 50 -> Keymap (Default X11 keymap: us)

  • Ln. 68~83 -> User account defination (Default User: LingmoOS)

  • Ln. 87~94 -> Packages installed in user profile (Default: vim, wget, curl, gh, git, clash-meta, appimage-run)

Do not edit:

  • Ln. 97~99 -> NixOS Label, Substituter and Nixpkgs Unfree Allow.

  1. Run nixos-install like step 2~3 of Install by NixOS.

Last updated