Skip to content

My Nix config

Notifications You must be signed in to change notification settings

gustavclausen/nix-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nix-config

Based on dustinlyons' config. Thanks for the inspiration.

Usage

New System

  1. Required for Darwin systems:

    1. Install base tools

      # Command-line tools
      xcode-select --install
      
      # Rosetta
      sudo softwareupdate --install-rosetta
      
      # Nix
      sh <(curl -L https://nixos.org/nix/install)
      
      # Homebrew
      /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
  2. Add system to flake.nix.

  3. Secrets setup:

    1. Download gustavclausen/nix-secrets to local machine.
    2. Follow instructions for setting up bootstrap secrets.
  4. Add GitHub Personal Access token to Nix config (default locations per OS documented here):

    access-tokens = github.com=<PAT>
  5. Deploy configuration:

    FLAKENAME="<system config name>" make build
    FLAKENAME="<system config name>" make switch

About

My Nix config

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published