| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
A set of Nix packages and NixOS modules allowing the usage of OpenStack in NixOS.
The repository contains the following things:
In our repo, we use pre-commit via pre-commit-hooks.nix to enforce a consistent style.
If you use the nix develop environment, pre-commit will be automatically configured for you and fix or flag any style issues when you commit.
When style changes are necessary on files that were not touched in the commit, you can re-run the checks on all files using:
$ pre-commit run --all-filesThis happens for example when the version of the style checking tool is updated or its configuration was changed.
Single checks can be skipped using the SKIP environment variable, if they are problematic. As an escape hatch, use git commit --no-verify to avoid running any checks.
The openstack-nix repository exports everything via a nix flake. You can specify it as a flake input in your project or directly build certain attributes.
The OpenStack services require a number of dependencies that are exported via:
openstack-nix.packagesThe NixOS modules are exported via
openstack-nix.nixosModulesThere are modules to setup the OpenStack controller, an OpenStack compute node and modules simplifying the creation of new NixOS tests.
The NixOS tests are located under the tests attribute. To execute a NixOS test do the following:
nix build .#tests.x86_64-linux.<test-name>If you want an interactive session:
nix build .#tests.x86_64-linux.<test-name>.driverInteractive
./result/bin/nixos-test-driverThe NixOS tests configure some port forwarding in order to allow access to the OpenStack dashboard. The port forwarding can be configured via openstack-testing.dashboardHostPort and the default host port used is 8080. While a NixOS test is running, the dashboard can be accessed via 127.0.0.1:8080 or the configured host port.
OpenStack is a very large and super actively maintained project. We are aware that we cannot keep track of all its development or offer every single configuration option via NixOS modules.
Therefore, we restricted ourself to the following goals for this project:
This project is open to feature requests/suggestions, bug reports etc. via GitHub issues. Contribution and feedback are encouraged and always welcome. For more information about how to contribute, the project structure, as well as additional contribution information, see our Contribution Guidelines.
If you find any bug that may be a security problem, please follow our instructions at in our security policy on how to report it. Please do not create GitHub issues for security-related doubts or problems.
We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone. By participating in this project, you agree to abide by its Code of Conduct at all times.
Copyright 2025 SAP SE or an SAP affiliate company and openstack-nix contributors. Please see our LICENSE for copyright and license information. Detailed information including third-party components and their licensing/copyright information is available via the REUSE tool.
| Back | FazBrowse Home | New Git URL |