Skip to content

dseum/nix-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nix-config

Getting Started

Either with Nix on NixOS or Determinate Nix on macOS, run:

nix run --refresh github:dseum/nix-config#init

This avoids you having to manually deal with the repository and allows you to inject into /etc/nixos (NixOS) or /etc/nix-darwin (macOS; symlink of /private/etc/nix-darwin) with the current user assumed to be the owner. That path will be referred to as <nix-config. Any previous file or directory at that path are cp -a into the <nix-config>.backup.

If on macOS, you need to disable SIP for yabai and xcode-select --install for Homebrew.

Then, to build and switch, run:

nix run <nix-config>#build-switch

That's it!

Acknowledgements

Thanks to dustinlyons/nixos-config for the starter that began this project!

About

Inject your Nix config for NixOS and macOS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published