Skip to content

Commit faf931b

Browse files
feat: add garnix config
1 parent 8b2a33d commit faf931b

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

flake.nix

+7
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@
2020
};
2121
};
2222

23+
nixConfig = {
24+
substituters = ["https://cache.garnix.io"];
25+
trusted-public-keys = ["cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g="];
26+
};
27+
2328
outputs =
2429
{
2530
self,
@@ -159,6 +164,8 @@
159164
wheelNeedsPassword = false;
160165
};
161166

167+
boot.initrd.kernelModules = [ "virtio_gpu" "virtio_pci" ];
168+
162169
virtualisation.qemu.options = [
163170
"-vga none"
164171
"-device virtio-gpu-gl-pci"

garnix.yaml

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
build:
2+
include:
3+
- '*.aarch64-linux.*'
4+
- '*.x86_64-linux.*'

0 commit comments

Comments
 (0)