Don't hardcode /etc/nixos

This commit is contained in:
Sridhar Ratnakumar 2023-03-17 12:18:11 -04:00
parent 783432b6ba
commit 294a7c5ac7
2 changed files with 4 additions and 4 deletions

View file

@ -11,7 +11,7 @@ To use this repository as base configuration for your new machine running:
- Digital Ocean: https://github.com/elitak/nixos-infect
- X1 Carbon: https://srid.ca/x1c7-install
- Windows (via WSL): https://github.com/nix-community/NixOS-WSL
- Clone this repo at `/etc/nixos`
- Clone this repo anywhere
- Edit `flake.nix` to use your system hostname in the `nixosConfigurations` set
- Edit `users/config.nix` to contain your users
- Run `nix run .#activate`. That's it. Re-open your terminal.

6
flake.lock generated
View file

@ -457,11 +457,11 @@
},
"nixos-flake": {
"locked": {
"lastModified": 1679068962,
"narHash": "sha256-pp/oLEraxpfWJsxjNoT/4mKXefmG6b5+6nD5hXbKk6w=",
"lastModified": 1679069823,
"narHash": "sha256-/U+drC6YoSMTj7xqaGaB/CD2NRhiCxuoNDzKLtDC0g0=",
"owner": "srid",
"repo": "nixos-flake",
"rev": "d76ad468acd6360cff89dc3f4f1549cba080c151",
"rev": "e6990befad71e9864fc4f1725429c408ccfc54d2",
"type": "github"
},
"original": {