mirror of
https://github.com/archtechx/nix.git
synced 2025-12-12 11:24:04 +00:00
minor README improvements
This commit is contained in:
parent
e87e666252
commit
4bc7ebaf4c
1 changed files with 2 additions and 4 deletions
|
|
@ -250,9 +250,7 @@ function client_ip(): string
|
|||
return $ipv6;
|
||||
}
|
||||
|
||||
return request()->hasHeader('CF-Connecting-IP')
|
||||
? request()->header('CF-Connecting-IP')
|
||||
: request()->ip();
|
||||
return request()->header('CF-Connecting-IP') ?: request()->ip();
|
||||
}
|
||||
```
|
||||
|
||||
|
|
@ -306,7 +304,7 @@ curl -s https://www.cloudflare.com/ips-v6 | sha256 | xargs nix hash convert --ha
|
|||
It's a good idea to have `/etc/nixos` tracked in version control so you can easily revert the config
|
||||
including the lockfile, not just system state.
|
||||
|
||||
The only thing in your lockfile should be `nixpkgs` unless you add more things to your system config.
|
||||
The only thing in your lockfile should be `nixpkgs` unless you add more inputs to your system config.
|
||||
|
||||
After rebuilding the system several times, you will have some past generations and unused files in the Nix
|
||||
store that can be cleaned up.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue