From 4366ae6eb9a4f3db04a3ea5323eb2f18bedef630 Mon Sep 17 00:00:00 2001 From: Andrew Opalach Date: Sun, 27 Apr 2025 21:10:00 -0400 Subject: Libvirt update --- files/nvim/init.vim | 2 +- flake.lock | 12 +++--- hosts/corpa/image-web.jpg | Bin 366284 -> 0 bytes hosts/corpa/lockscreen.jpg | Bin 0 -> 346064 bytes hosts/corpa/wallpaper.jpg | Bin 0 -> 366284 bytes hosts/corpa/winutil.json | Bin 2706 -> 0 bytes hosts/iroha/libvirt/hooks/arcade.conf | 4 +- hosts/iroha/libvirt/qemu/arcade.xml | 29 ++------------- hosts/iroha/libvirt/qemu/corpa-nogpu.xml | 61 ++++++++++++++++++------------- hosts/iroha/libvirt/qemu/corpa.xml | 42 +++++++++++++-------- hosts/iroha/libvirt/qemu/soy.xml | 4 +- hosts/iroha/libvirt/qemu/xp.xml | 2 +- hosts/sofue/programs.nix | 1 - nix/virtualisation.nix | 3 +- scripts/looking-glass | 2 +- 15 files changed, 82 insertions(+), 80 deletions(-) delete mode 100755 hosts/corpa/image-web.jpg create mode 100644 hosts/corpa/lockscreen.jpg create mode 100755 hosts/corpa/wallpaper.jpg delete mode 100755 hosts/corpa/winutil.json diff --git a/files/nvim/init.vim b/files/nvim/init.vim index 56af917..017f128 100644 --- a/files/nvim/init.vim +++ b/files/nvim/init.vim @@ -236,7 +236,7 @@ inoremap =Juliana#CompleteSTab('PREV') lua << EOF function get_lsp_name() - local active_clients = vim.lsp.get_active_clients({bufnr = vim.api.nvim_get_current_buf()}) + local active_clients = vim.lsp.get_clients({bufnr = vim.api.nvim_get_current_buf()}) if next(active_clients) == nil then return '' else diff --git a/flake.lock b/flake.lock index 687391d..2692bd6 100644 --- a/flake.lock +++ b/flake.lock @@ -88,11 +88,11 @@ ] }, "locked": { - "lastModified": 1745627989, - "narHash": "sha256-mOCdFmxocBPae7wg7RYWOtJzWMJk34u9493ItY0dVqw=", + "lastModified": 1745782215, + "narHash": "sha256-mx27J2HYQT+nGXTyUWKrUuxRzpr1FVVr59ZH4oNzOyw=", "owner": "nix-community", "repo": "home-manager", - "rev": "4d2d32231797bfa7213ae5e8ac89d25f8caaae82", + "rev": "7b2aae3fb39928aecc5e41c10a9c87c4881614d5", "type": "github" }, "original": { @@ -199,11 +199,11 @@ "treefmt-nix": "treefmt-nix" }, "locked": { - "lastModified": 1745696698, - "narHash": "sha256-GTp4lsii7PA294/SXvRXtEl+cjHyJCDsiXRlIUABC54=", + "lastModified": 1745797545, + "narHash": "sha256-jEUl2noKTuzlAqvdo4QahWEgHcidf0ivkx2RTX2rkic=", "owner": "nix-community", "repo": "NUR", - "rev": "effaeb3c6ca87b43f66e1ff63fc76af52f7ba8c2", + "rev": "3ed4e03568fd73b2bc355205bde2d2fa93f394bc", "type": "github" }, "original": { diff --git a/hosts/corpa/image-web.jpg b/hosts/corpa/image-web.jpg deleted file mode 100755 index f3fd8d5..0000000 Binary files a/hosts/corpa/image-web.jpg and /dev/null differ diff --git a/hosts/corpa/lockscreen.jpg b/hosts/corpa/lockscreen.jpg new file mode 100644 index 0000000..268e712 Binary files /dev/null and b/hosts/corpa/lockscreen.jpg differ diff --git a/hosts/corpa/wallpaper.jpg b/hosts/corpa/wallpaper.jpg new file mode 100755 index 0000000..f3fd8d5 Binary files /dev/null and b/hosts/corpa/wallpaper.jpg differ diff --git a/hosts/corpa/winutil.json b/hosts/corpa/winutil.json deleted file mode 100755 index 969fed0..0000000 Binary files a/hosts/corpa/winutil.json and /dev/null differ diff --git a/hosts/iroha/libvirt/hooks/arcade.conf b/hosts/iroha/libvirt/hooks/arcade.conf index acbc430..8ea3c3c 100644 --- a/hosts/iroha/libvirt/hooks/arcade.conf +++ b/hosts/iroha/libvirt/hooks/arcade.conf @@ -1,3 +1,3 @@ -VIRSH_GPU_VIDEO=pci_0000_10_00_0 -VIRSH_GPU_AUDIO=pci_0000_10_00_1 +VIRSH_GPU_VIDEO=pci_0000_03_00_0 +VIRSH_GPU_AUDIO=pci_0000_03_00_1 VIRSH_USB=pci_0000_12_00_3 diff --git a/hosts/iroha/libvirt/qemu/arcade.xml b/hosts/iroha/libvirt/qemu/arcade.xml index 5280dc9..28177e3 100644 --- a/hosts/iroha/libvirt/qemu/arcade.xml +++ b/hosts/iroha/libvirt/qemu/arcade.xml @@ -32,35 +32,22 @@ or other application using the libvirt API. - - - - - - - - - - - - - - hvm + hvm /usr/share/edk2-ovmf/OVMF_CODE.fd /var/lib/libvirt/qemu/nvram/arcade_VARS.fd + - @@ -95,14 +82,6 @@ or other application using the libvirt API. /usr/bin/qemu-system-x86_64 - - - - - WD_BLACK_SN770_1TB_230423802979_1 - -
- @@ -209,13 +188,13 @@ or other application using the libvirt API. -
+
-
+
diff --git a/hosts/iroha/libvirt/qemu/corpa-nogpu.xml b/hosts/iroha/libvirt/qemu/corpa-nogpu.xml index b43ac1b..b5a2a46 100644 --- a/hosts/iroha/libvirt/qemu/corpa-nogpu.xml +++ b/hosts/iroha/libvirt/qemu/corpa-nogpu.xml @@ -13,16 +13,26 @@ or other application using the libvirt API. - 12582912 - 12582912 + 16777216 + 16777216 6 1 + + + + + + + + + + - hvm + hvm @@ -73,9 +83,24 @@ or other application using the libvirt API. - +
+ + + + + +
+ + + + + + + +
+
@@ -178,13 +203,6 @@ or other application using the libvirt API.
- - - - - -
-
@@ -205,7 +223,7 @@ or other application using the libvirt API. - + @@ -213,25 +231,18 @@ or other application using the libvirt API. - - -
-