docs: update supported nixos releases (#195)

This commit is contained in:
Jörg Thalheim 2023-07-16 08:33:21 +01:00 committed by GitHub
parent ee0f7cc08b
commit 298c7f5a72
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 2 deletions

View File

@ -19,6 +19,7 @@ example to deploy a GitHub Action runner on Hetzner:
inputs = {
srvos.url = "github:numtide/srvos";
# Use the version of nixpkgs that has been tested to work with SrvOS
# Alternativly we also support the latest nixos release and unstable
nixpkgs.follows = "srvos/nixpkgs";
};
outputs = { self, nixpkgs, srvos }: {

View File

@ -2,7 +2,7 @@ Some questions and answers that haven't been integrated in the documentation yet
## What version of NixOS should I use?
SrvOS is currently only tested against `nixos-unstable`. SrvOS itself is automatically updated and tested against the latest version of that channel once a week.
SrvOS is currently tested against `nixos-unstable` and the latest NixOS release. SrvOS itself is automatically updated and tested against the latest version of that channel once a week.
If you want to make sure to use a tested version, use the "follows" mechanims of Nix flakes to pull the same version as the one of SrvOS:
@ -12,4 +12,4 @@ If you want to make sure to use a tested version, use the "follows" mechanims of
# Use the version of nixpkgs that has been tested to work with SrvOS
inputs.nixpkgs.follows = "srvos/nixpkgs";
}
```
```

View File

@ -23,6 +23,7 @@ Combining all of those together, here is how your `flake.nix` might look like, t
inputs = {
srvos.url = "github:numtide/srvos";
# Use the version of nixpkgs that has been tested to work with SrvOS
# Alternativly we also support the latest nixos release and unstable
nixpkgs.follows = "srvos/nixpkgs";
};
outputs = { self, nixpkgs, srvos }: {