Skip to content

zendo/nsworld

Repository files navigation

NixOS Logo built with nix Size

Installation

mkfs.fat -F32 /dev/nvme0n1p3
mkswap /dev/nvme0n1p4
swapon /dev/nvme0n1p4
mkfs.bcachefs /dev/nvme0n1p5
mkdir /mnt/efi
nixos-generate-config --root /mnt

nix run github:nix-community/disko -- -m disko hosts/rmt/disko-bcachefs.nix --arg disks '[ "/dev/sda" ]'
nixos-generate-config --no-filesystems --root /mnt

nix run github:nix-community/nixos-anywhere -- --flake .#rmt root@192.168.122.89 --no-substitute-on-destination

nixos-install --no-root-passwd --flake .#host
--option substituters "https://cache.nixos.org"
--option substituters "https://mirror.sjtu.edu.cn/nix-channels/store"

Config Example

More Example

Nix Commands

# Developer Environments
nix develop --no-write-lock-file github:nix-community/nix-environments#openwrt
nix flake init -t github:github:MordragT/nix-templates#tauri

Nix Lang

Nix one pager

License: GPL v3