mirror of
https://github.com/srid/nixos-config.git
synced 2026-05-11 00:55:58 +08:00
Don't hardcode /etc/nixos
This commit is contained in:
parent
783432b6ba
commit
294a7c5ac7
2 changed files with 4 additions and 4 deletions
|
|
@ -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
6
flake.lock
generated
|
|
@ -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": {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue