Skip to content

O-Huo/nixhome

Repository files navigation

env

My Nix environment. Once you have Nix installed, the first step is to clone this repo:

nix-shell -p git gh --run "gh auth login && gh repo clone aoli/env ~/repos/env"

There are separate configurations for the two different machines I use.

Run these commands to setup the NixOS configuration:

sudo nixos-rebuild switch --flake .#machine-name

Then run these commands to do a standalone installation of Home Manager and setup the Home Manager configuration:

nix run home-manager/master -- switch --flake .#aoli@linux

Enable flakes by making sure this line is present in /etc/nix/nix.conf:

experimental-features = nix-command flakes

Then run these commands to do a standalone installation of Home Manager and setup the Home Manager configuration:

nix run home-manager/master -- switch --flake .#aoli@darwin
home-manager switch --flake .#aoli@darwin

About

NixOS configurations

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages