Add NixOS VM configuration and new media search endpoint
Some checks failed
Test Suite / test (push) Failing after 45s
Some checks failed
Test Suite / test (push) Failing after 45s
- Introduced a new NixOS VM configuration in `flake.nix` for testing purposes. - Updated CI workflow to build the VM using the flake input for a more streamlined process. - Added a new API endpoint `/search` in the collection API to search owned media by title, with optional filtering by media type. - Refactored frontend components to utilize the new media search functionality, updating types and state management accordingly. - Enhanced CSS for the map component to ensure proper rendering in various layouts.
This commit is contained in:
@@ -16,12 +16,8 @@ jobs:
|
||||
|
||||
- name: Build NixOS VM
|
||||
run: |
|
||||
# Build the VM configuration using nixos-rebuild
|
||||
# This creates a VM that can be run with QEMU
|
||||
nixos-rebuild build-vm \
|
||||
-I nixos-config=./nix/test-vm.nix \
|
||||
-I nixpkgs=<nixpkgs> \
|
||||
-o vm-result
|
||||
# Build the VM purely via the flake input nixpkgs (no host channels / no <nixpkgs> path)
|
||||
nix build .#nixosConfigurations.test-vm.config.system.build.vm -o vm-result
|
||||
|
||||
- name: Start VM
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user