diff options
author | sadbeast <sadbeast@sadbeast.com> | 2024-05-30 00:47:47 +0000 |
---|---|---|
committer | sadbeast <sadbeast@sadbeast.com> | 2024-10-05 16:44:14 -0700 |
commit | 09513b5c4e4babfaefdd06c592ef34c0908dc572 (patch) | |
tree | 5a9af6ef0407346c223334e295adc8012654f112 /README.md | |
download | nix-config-main.tar.gz nix-config-main.tar.bz2 |
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/README.md b/README.md new file mode 100644 index 0000000..8844787 --- /dev/null +++ b/README.md @@ -0,0 +1,21 @@ +# Installation + +1. Follow the [installation guide](https://nixos.org/manual/nixos/stable/#sec-installation-manual-installing) and run `nixos-install --flake .#hostname` in this directory, instead of `nixos-install`. + +# Usage + +To rebuild the system after changes in `hosts/`: +``` +sudo nixos-rebuild switch --flake .#hostname +``` + +After making changes in `home/`: + +``` +home-manager switch --flake .#sadbeast@hostname +``` + +# References +This was intitially setup using [https://github.com/Misterio77/nix-starter-configs](https://github.com/Misterio77/nix-starter-configs) + +[Encypted Btrfs Root with Opt-in State on NixOS](https://mt-caret.github.io/blog/posts/2020-06-29-optin-state.html) |