Skip to content

Latest commit

 

History

History
30 lines (20 loc) · 614 Bytes

File metadata and controls

30 lines (20 loc) · 614 Bytes

Setup

Install and configure the system.

Installation

sudo sh -c 'curl -sSL https://raw.githubusercontent.com/devswork-in/nix-systems/main/setup.sh | bash -s /dev/nvme0n1 omnix'

Replace /dev/nvme0n1 with target device and omnix with system name. Warning: Erases all data on device.

Configuration

  • User settings: config.nix
  • Secrets: secrets/user-secrets.nix (git-ignored)
  • See flake.nix for secrets handling

Apply

sudo nixos-rebuild switch --flake .#<hostname> --impure

Verify

nix-repo-sync-logs | tail -20