mirror of
https://github.com/lxstinthesky/matrix.git
synced 2025-11-02 17:02:47 +00:00
A simple flake setup with tests and VM support
This commit is contained in:
14
README.md
14
README.md
@@ -1,2 +1,16 @@
|
||||
# matrix
|
||||
Who needs something else?
|
||||
|
||||
# Nixos Setup
|
||||
|
||||
## Automatic Tests
|
||||
|
||||
Using the nixos framework, tests can be written and performed. See https://nixos.org/manual/nixos/stable/index.html#sec-nixos-tests
|
||||
|
||||
Perform all tests using `nix flake check`. Call a specific test using `nix build .#checks.x86_64-linux.test1`
|
||||
|
||||
## Testing the VM
|
||||
|
||||
The VM can be build using `nixos-rebuild build-vm --flake .#matrix` and started using `result/bin/run-nixos-vm`.
|
||||
|
||||
See also https://gist.github.com/FlakM/0535b8aa7efec56906c5ab5e32580adf
|
||||
Reference in New Issue
Block a user