diff --git a/README.md b/README.md index 6731b3a..409b6f2 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,28 @@ +# Faris' NixOS config + +This flake includes the complete NixOS setup for all my computers. + +It includes the configuration of zsh, neovim, tmux, etc across all the machines. On Linux desktops it uses the Gnome desktop environment. On the main server it uses podman (docker drop-in replacement) containers for all the services. + +Feel free to take a look and I hope it can be used for inspiration. + To update the flake run: ``` sudo nix flake update ``` -To rebuild and switch to the configuration, first copy over the *hardware.nix* and then run +To rebuild and switch to the configuration, first copy over the *hardware.nix* and then run one of the following + + ``` -sudo nixos-rebuild switch --flake .# +sudo nixos-rebuild switch --flake .#desktop +``` +``` +sudo nixos-rebuild switch --flake .#admins-MacBook-Air +``` +``` +sudo nixos-rebuild switch --flake .#nixos-server +``` +``` +sudo nixos-rebuild switch --flake .#nixos-server-nut ```