No description
- Nix 100%
| home | ||
| hosts | ||
| modules | ||
| pkgs | ||
| .gitignore | ||
| flake.lock | ||
| flake.nix | ||
| README.md | ||
Tyler Critchlow's nix-darwin and nixos System Flake
# for macos, from the config root directory
sudo darwin-rebuild switch --flake .#darwin
# for nixos
sudo nixos-rebuild switch --flake .#desktop # or whatever host you make
Create a New NixOS Host
NixOS should have a different host for every system you have. Create a new directory in ./hosts/<NAME_OF_SYSTEM>. Copy over from /etc/nixos/ your configuration.nix and your hardware-configuration.nix into your newly created directory.