Skip to content

mjvmroz/nixos-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

My environment

Based on dustinlyons/nix-config, this repository contains my personal environment.

It's currently only tested on macOS, but it should mostly work on NixOS. I'm moving toward 1Password as an agent for GPG/SSH, but haven't yet fully implemented that for NixOS.

Layout

.
├── apps         # Nix commands used to bootstrap and build configuration
├── hosts        # Host-specific configuration
├── modules      # macOS and nix-darwin, NixOS, and shared configuration
├── overlays     # Drop an overlay file in this dir, and it runs. So far, mainly patches.
├── templates    # Starter versions of this configuration

Installing

For macOS

This configuration supports both Intel and Apple Silicon Macs.

Let Apple know that we'd like to use the computer:

xcode-select --install

And then install Nix. I use the Determinate Systems distribution:

curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install

Finally, cut over to the new Nix:

./switch.sh

For NixOS

./switch.sh # I think it's that easy??

About

Step into my world.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published