Skip to content

Latest commit

 

History

165 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nixconfig

Personal Nix configuration for macOS and NixOS.

Hosts

  • AirPh0ryn: Apple Silicon macOS managed with nix-darwin
  • NixPavilion: x86_64 NixOS

Installation

macOS

# 1. install nix
curl -sSfL https://artifacts.nixos.org/nix-installer | sh -s -- install

# 2. clone config
git clone https://github.com/ph0ryn/nixconfig.git ~/nixconfig

# 3. bootstrap nix-darwin
sudo nix run nix-darwin/master#darwin-rebuild -- switch --flake ~/nixconfig#AirPh0ryn

NixOS

# 1. clone this repository
nix shell nixpkgs#git -c git clone https://github.com/ph0ryn/nixconfig.git ~/nixconfig

# 2. apply the configuration
sudo nixos-rebuild switch --flake ~/nixconfig#NixPavilion

Commands

update

# all
nix flake update

# selected inputs
nix flake update nixpkgs
nix flake update home-manager
nix flake update nix-darwin

switch macOS

sudo darwin-rebuild switch --flake ~/nixconfig#AirPh0ryn

switch NixOS

sudo nixos-rebuild switch --flake ~/nixconfig#NixPavilion

About

No description or website provided.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages