Skip to content

Commit

Permalink
feat: add garnix config
Browse files Browse the repository at this point in the history
  • Loading branch information
RossComputerGuy committed Jan 3, 2025
1 parent 8b2a33d commit faf931b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
7 changes: 7 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@
};
};

nixConfig = {
substituters = ["https://cache.garnix.io"];
trusted-public-keys = ["cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g="];
};

outputs =
{
self,
Expand Down Expand Up @@ -159,6 +164,8 @@
wheelNeedsPassword = false;
};

boot.initrd.kernelModules = [ "virtio_gpu" "virtio_pci" ];

virtualisation.qemu.options = [
"-vga none"
"-device virtio-gpu-gl-pci"
Expand Down
4 changes: 4 additions & 0 deletions garnix.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
build:
include:
- '*.aarch64-linux.*'
- '*.x86_64-linux.*'

0 comments on commit faf931b

Please sign in to comment.