NixOS profiles for servers [maintainer=@numtide]
Go to file
bors[bot] 310588cb2e
Merge #110
110: switch docs to mkdocs r=zimbatm a=zimbatm



Co-authored-by: zimbatm <zimbatm@zimbatm.com>
2023-04-03 15:52:59 +00:00
.github switch docs to mkdocs 2023-04-03 17:50:08 +02:00
checks checks: support empty values 2023-04-03 17:46:29 +02:00
dev switch docs to mkdocs 2023-04-03 17:50:08 +02:00
docs switch docs to mkdocs 2023-04-03 17:50:08 +02:00
nixos feat(github-runner): add role option to add extra labels 2023-04-03 15:07:23 +02:00
.envrc introduce dev flake 2023-04-03 16:10:38 +02:00
.gitignore predictable module locations 2023-02-24 11:47:49 +01:00
bors.toml switch docs to mkdocs 2023-04-03 17:50:08 +02:00
bors.toml.sh flake: add bors TOML check 2023-02-27 22:01:31 +01:00
default.nix introduce dev flake 2023-04-03 16:10:38 +02:00
flake.lock flake.lock: Update 2023-04-03 00:04:28 +00:00
flake.nix switch docs to mkdocs 2023-04-03 17:50:08 +02:00
LICENSE Create LICENSE 2023-01-16 23:39:46 +01:00
mkdocs.yml switch docs to mkdocs 2023-04-03 17:50:08 +02:00
README.md switch docs to mkdocs 2023-04-03 17:50:08 +02:00
shell.nix introduce dev flake 2023-04-03 16:10:38 +02:00

SrvOS - NixOS profiles for servers

STATUS: experimental

SrvOS is a collection of opinionated and sharable NixOS configurations.

As we learn more about NixOS in various deployments, we end up re-writing the same modules and configs. This is a way for us to speed up and share our setups.

Instead of supporting everything, our goal is to target certain verticals and make the support super smooth there.

Quick Usage

Add srvos to your flake.nix to augment your NixOS configuration. For example to deploy a GitHub Action runner on Hetzner:

{
  inputs = {
    srvos.url = "github:numtide/srvos";
  };
  outputs = { srvos, nixpkgs, ... }: {
    nixosConfigurations.myHost = nixpkgs.lib.nixosSystem {
      system = "x86_64-linux";
      modules = [
        srvos.nixosModules.common
        srvos.nixosModules.hardware-hetzner-amd
        srvos.nixosModules.roles-github-actions-runner
      ];
    };
  };
}

Documentation

The Documentation website shows more general usage, how to install SrvOS, etc...

To improve the documentation, take a look at the ./docs folder. You can also run nix run .#docs.serve to start a preview server on http://localhost:3000.

Contributing

Contributions are always welcome.

License

MIT


This is a Numtide project.

NumTide Logo