My configs, using nix, home-manager and nix-darwin
Necessary due to flakes.
$ nix build
$ sudo ./result/activate
$ sudo nixos-rebuild switch --flake .
$ darwin-rebuild switch --flake .
$ nixos-rebuild switch --flake .
- /hosts/ contains a folder for each unique device.
- home.nix contains platform specific home-manager configs
- default.nix is the system configuration
- /hosts/common.nix contains non-platform specific configs. it is imported in home.nix.
- /config/ contains program configs, imported via home-manager.