treewide: fix typo using typos (#400)

This commit is contained in:
Guanran928 2024-03-21 01:29:05 +08:00 committed by GitHub
parent 6f5c52bcd3
commit e4ea26262b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
7 changed files with 9 additions and 9 deletions

View File

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

View File

@ -4,7 +4,7 @@ Some questions and answers that haven't been integrated in the documentation yet
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. 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: If you want to make sure to use a tested version, use the "follows" mechanisms of Nix flakes to pull the same version as the one of SrvOS:
```nix ```nix
{ {

View File

@ -9,7 +9,7 @@ In this documentation, we expect the reader to be already familiar with the base
This project exports four big categories of NixOS modules which are useful to define a server configuration: This project exports four big categories of NixOS modules which are useful to define a server configuration:
* Machine type - these are high-level settings that define the machine type (Eg: common, server or desktop). Only one of those would be included. * Machine type - these are high-level settings that define the machine type (Eg: common, server or desktop). Only one of those would be included.
* Machine hardware - these define hardware-releated settings for well known hardware. Only one of those would be included. (eg: AWS EC2 instances). * Machine hardware - these define hardware-related settings for well known hardware. Only one of those would be included. (eg: AWS EC2 instances).
* Machine role - theses take over a machine for a specific role. Only one of those would be included. (eg: GitHub Actions runner) * Machine role - theses take over a machine for a specific role. Only one of those would be included. (eg: GitHub Actions runner)
* Configuration mixins - these define addons to be added to the machine configuration. One or more can be added. * Configuration mixins - these define addons to be added to the machine configuration. One or more can be added.
@ -23,7 +23,7 @@ Combining all of those together, here is how your `flake.nix` might look like, t
inputs = { inputs = {
srvos.url = "github:nix-community/srvos"; srvos.url = "github:nix-community/srvos";
# Use the version of nixpkgs that has been tested to work with SrvOS # Use the version of nixpkgs that has been tested to work with SrvOS
# Alternativly we also support the latest nixos release and unstable # Alternatively we also support the latest nixos release and unstable
nixpkgs.follows = "srvos/nixpkgs"; nixpkgs.follows = "srvos/nixpkgs";
}; };
outputs = { self, nixpkgs, srvos }: { outputs = { self, nixpkgs, srvos }: {

View File

@ -32,7 +32,7 @@ Introduces some workaround for the particular IPv6 configuration that Hetzner ha
Hardware configuration for <https://www.hetzner.com/dedicated-rootserver> bare-metal Intel servers. Hardware configuration for <https://www.hetzner.com/dedicated-rootserver> bare-metal Intel servers.
Introduces some workaround for the perticular IPv6 configuration that Hetzner has. Introduces some workaround for the particular IPv6 configuration that Hetzner has.
### `nixosModules.hardware-hetzner-online-ex101` ### `nixosModules.hardware-hetzner-online-ex101`

View File

@ -1,5 +1,5 @@
# A default configuration that applies to all servers. # A default configuration that applies to all servers.
# Common configuration accross *all* the machines # Common configuration across *all* the machines
{ config, lib, ... }: { config, lib, ... }:
{ {
@ -34,7 +34,7 @@
environment = { environment = {
# This is pulled in by the container profile, but it seems broken and causes # This is pulled in by the container profile, but it seems broken and causes
# unecessary rebuilds. # unnecessary rebuilds.
noXlibs = false; noXlibs = false;
} // lib.optionalAttrs (lib.versionAtLeast (lib.versions.majorMinor lib.version) "24.05") { } // lib.optionalAttrs (lib.versionAtLeast (lib.versions.majorMinor lib.version) "24.05") {
# Don't install the /lib/ld-linux.so.2 stub. This saves one instance of # Don't install the /lib/ld-linux.so.2 stub. This saves one instance of

View File

@ -1,4 +1,4 @@
# Use pipewire instead of PuleseAudio. See https://nixos.wiki/wiki/PipeWire # Use pipewire instead of PulseAudio. See https://nixos.wiki/wiki/PipeWire
{ lib, config, ... }: { lib, config, ... }:
{ {
security.rtkit.enable = lib.mkDefault config.services.pipewire.enable; security.rtkit.enable = lib.mkDefault config.services.pipewire.enable;

View File

@ -1,5 +1,5 @@
# A default configuration that applies to all servers. # A default configuration that applies to all servers.
# Common configuration accross *all* the machines # Common configuration across *all* the machines
{ pkgs, lib, ... }: { pkgs, lib, ... }:
{ {