My nix configurations for NixOS and Darwin
Go to file
Seth Doty 13203d5f18
add watchman and gopath to path
2021-06-05 12:03:53 -05:00
conf.d add I3 config 2021-02-07 14:08:04 -06:00
emacs/.doom.d remove custom vars from config.el 2021-05-24 14:36:01 -05:00
hosts/yoga major reorg to include nixos config 2021-02-05 20:30:10 -06:00
lib major reorg to include nixos config 2021-02-05 20:30:10 -06:00
modules add watchman and gopath to path 2021-06-05 12:03:53 -05:00
overlays update firefox version 2021-05-06 13:16:51 -05:00
.gitignore add back pinentry 2021-02-22 22:52:26 -06:00
Makefile major reorg to include nixos config 2021-02-05 20:30:10 -06:00
README.md update readme 2021-02-05 21:53:30 -06:00
configuration.nix enable openGL 2021-02-07 15:22:48 -06:00
darwin-configuration.nix update to ff86, remove depreciated lib call, and add nix config user 2021-02-23 13:34:18 -06:00

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.