Skip to content
This repository has been archived by the owner on Jun 4, 2023. It is now read-only.

Latest commit

 

History

History
51 lines (42 loc) · 2.19 KB

README.md

File metadata and controls

51 lines (42 loc) · 2.19 KB

Systemosaurus

My (currently Darwin only) system configuration and setup using Nix and Nix-Darwin.

Installation

Yolo!

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/TheOptimist/systemosaurus/main/install)"

Not yet worked out how to change default shell for user (maybe with home manager), so...

chsh -s /run/current-system/sw/bin/zah

Instaling application from the App Store via mas will not work until you have signed into the App Store. Do that first.

Goals

  • Installs Command Line Tools silently
  • Installs Nix
  • Installs Nix-Darwin
  • Installs HomeBrew
  • Clones this repository to the local machine
  • Initiates first darwin-rebuild to switch configurations

Nix on Darwin

Installing with daemon for multi-user despite there only being a single user on my Mac.

Using "unencrypted volume" for MacOS.

Still using Homebrew?

Yep, some packages are only available via brew or mas.

Layout

  • config/ - Package installation and configuration
  • home/ - Home-manager configuration and dotfile management
  • modules/ - Modules to assist configuration of machine
  • profiles/ - Configuration profiles (bit weak this one, it's fairly empty)

Inspiration

Becaue I am far too early on in my journey with nix. Heavily inspired by:

Future

Move to using flakes? Some of the repositories above seem to shorten the install workflow to install nix, clone the repository and then darwin-rebuild, which would be nice.