My nix configurations for NixOS and Darwin
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Seth Doty 13203d5f18
add watchman and gopath to path
2 years ago
conf.d add I3 config 2 years ago
emacs/.doom.d remove custom vars from config.el 2 years ago
hosts/yoga major reorg to include nixos config 2 years ago
lib major reorg to include nixos config 2 years ago
modules add watchman and gopath to path 2 years ago
overlays update firefox version 2 years ago
.gitignore add back pinentry 2 years ago
Makefile major reorg to include nixos config 2 years ago
README.md update readme 2 years ago
configuration.nix enable openGL 2 years ago
darwin-configuration.nix update to ff86, remove depreciated lib call, and add nix config user 2 years ago

README.md

This repo manages all my Mac machines and my nixos machine in one repository. I want things to be very consistent across my environments so I try to create a lot of common configuration across environments by default.

Common components are under modules/common. Typically I will default to common functionality to maintain the common components across machines, and heavily use nix-shells where I can.

The configuration.nix file is for NixOS and the darwin-configuration.nix file is for mac. To get started, just sync this repo to to /etc/nixos on NixOS or .nixpkgs if you are on your mac. If on a mac, the configuration will automatically set the appropriate variables to find the config file in these locations.

I follow the nixpkgs unstable channel on my darwin machines. I don't like to sudo on my darwin machines, so I remove the nixpkgs channel from root, and add it to my user like this: nix-channel --add https://nixos.org/channels/nixpkgs-unstable nixpkgs

Finally, I have some ongoing work to use the lib folder to set variables since I have a lot of repetition with my user. Work will continue with that migration.