mirror of
https://github.com/archtechx/nix.git
synced 2025-12-12 11:24:04 +00:00
minor formatting improvements
This commit is contained in:
parent
9621c85c19
commit
203e48e389
1 changed files with 3 additions and 2 deletions
|
|
@ -222,6 +222,7 @@ PHP:
|
||||||
|
|
||||||
```php
|
```php
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
function client_ip(): string
|
function client_ip(): string
|
||||||
{
|
{
|
||||||
if ($ipv6 = request()->header('CF-Connecting-IPv6')) {
|
if ($ipv6 = request()->header('CF-Connecting-IPv6')) {
|
||||||
|
|
@ -281,8 +282,8 @@ curl -s https://www.cloudflare.com/ips-v6 | sha256 | xargs nix hash convert --ha
|
||||||
|
|
||||||
## Maintenance
|
## Maintenance
|
||||||
|
|
||||||
It's a good idea to have /etc/nixos tracked in version control so you can easily revert the config including
|
It's a good idea to have `/etc/nixos` tracked in version control so you can easily revert the config
|
||||||
the lockfile, not just system state.
|
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 things to your system config.
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue