Flake lock file updates: • Updated input 'darwin': 'github:lnl7/nix-darwin/ae406c04577ff9a64087018c79b4fdc02468c87c?narHash=sha256-O3bnAfsObto6l2tQOmQlrO6Z2kD6yKwOWfs7pA0CpOc%3D' (2025-02-05) → 'github:lnl7/nix-darwin/73d59580d01e9b9f957ba749f336a272869c42dd?narHash=sha256-emPWa5lmKbnyuj8c1mSJUkzJNT%2BiJoU9GMcXwjp2oVM%3D' (2025-04-01) • Updated input 'home-manager': 'github:nix-community/home-manager/bd65bc3cde04c16755955630b344bc9e35272c56?narHash=sha256-dinzAqCjenWDxuy%2BMqUQq0I4zUSfaCvN9rzuCmgMZJY%3D' (2025-01-08) → 'github:nix-community/home-manager/a9f8b3db211b4609ddd83683f9db89796c7f6ac6?narHash=sha256-2lDQBOmlz9ggPxcS7/GvcVdzXMIiT%2BPpMao6FbLJSr0%3D' (2025-04-04) • Updated input 'nixpkgs': 'github:nixos/nixpkgs/030ba1976b7c0e1a67d9716b17308ccdab5b381e?narHash=sha256-nJj8f78AYAxl/zqLiFGXn5Im1qjFKU8yBPKoWEeZN5M%3D' (2025-02-04) → 'github:nixos/nixpkgs/bdb91860de2f719b57eef819b5617762f7120c70?narHash=sha256-s1KLDALEeqy%2BttrvqV3jx9mBZEvmthQErTVOAzbjHZs%3D' (2025-04-03)
Wyatt's Nix configuration
Designed and developed by Wyatt J. Miller, 2024
Licensed by the Mozilla Public License v2
What is this??
This repository is my multi-machine Nix configuration, written in a Nix flake!
How do I get this?
Make sure the following is installed:
git
(most operating systems come with git already installed)nix
(if you are on macOS or a non-NixOS system)
If you don't have git
installed and are running macOS, run the following command:
sudo xcode-select --install
If you don't have nix
installed and are running Linux, use the Determinate Nix Installer!
curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install
If you don't have nix
installed and are running macOS, use the Determinate Nix Installer!
curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install
There's a separate installer Determinate Systems releases (and feel free to try it) but that's not on the install list here.
Once you got everything required, it's clonin' time!
git clone https://scm.wyattjmiller.com/wymiller/nix-config-v2
Once that's done, head to the next section.
How do I run this?
For NixOS systems:
sudo nixos-rebuild switch --flake .#<hostname>
For macOS systems:
nix run nix-darwin --extra-experimental-features nix-command --extra-experimental-features flakes -- switch --flake .#<hostname>
or
darwin-rebuild switch --flake .#<hostname>
where <hostname>
is the particular configuration you would like to run.
Non-NixOS Linux systems should be coming soon!