Skip to content

Latest commit

 

History

History
49 lines (37 loc) · 658 Bytes

README.md

File metadata and controls

49 lines (37 loc) · 658 Bytes

nix-cfg

Getting Started

Install Nix

# Ubuntu
$ sh <(curl -L https://nixos.org/nix/install) --daemon --nix-extra-conf-file nix.conf
# Darwin
$ sh <(curl -L https://nixos.org/nix/install) --daemon --nix-extra-conf-file nix.conf --darwin-use-unencrypted-nix-store-volume

Bootstrap System

# Ubuntu
$ nix-shell --command switch-home
# Darwin
$ nix-shell --command switch-darwin
# NixOS
$ nix-shell --command switch-nixos

Development

# Ubuntu
$ nix run .#switchHome
# Darwin
$ nix run .#switchDarwin
# NixOS
$ nix run .#switchNixOS