diff options
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/README.md b/README.md new file mode 100644 index 0000000..4884d66 --- /dev/null +++ b/README.md @@ -0,0 +1,40 @@ +Configurations for my machines. + +## nixos + +To rebuild the host: + +``` sh +sudo nixos-rebuild switch --flake . +``` + +or + +``` sh +nix-rebuild-host +``` + +## home-manager + +To rebuild the configuration for `home-manager`: + +``` sh +home-manager switch --flake . +``` + +## update flakes + +To update the flakes: + +``` sh +nix flake update +``` + +## templates + +To use one of the template, run: + +``` sh +nix flake init -t .#rust +nix flake init -t .#go +``` |