Skip to content

lexun/system

Repository files navigation

System

My full system configuration for various devices and environments. Mostly undocumented, but I may add more notes over time.

New Mac Setup

https://github.com/DeterminateSystems/nix-installer

curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install

https://brew.sh

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
git clone https://github.com/lexun/system ~/.system

Change hostname to match device name in ~/.system/devices/default.nix, then:

sudo mv /etc/nix/nix.conf /etc/nix/nix.conf.original

Apply the system configuration with nix-darwin:

nix --extra-experimental-features 'nix-command flakes' run nix-darwin -- switch --flake ~/.system

Finally, enable the 1password ssh agent and CLI integration in the 1password developer settings.

Coder Instances

For Nix-powered coder instances, setup is simple:

nix run nixpkgs#cachix -- use lexun
nix run github:lexun/system#homeConfigurations.coder.activationPackage

Maintenance

To update Nix dependencies:

cd ~/.system && nix flake update

To apply changes to the configuration:

update

About

My personal system configuration.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published