1
0
Fork 0
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:
Samuel Štancl 2025-08-13 00:18:01 +02:00
parent 9621c85c19
commit 203e48e389

View file

@ -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.