integrate libvirtd group support + document in install guide + remove NixOS patch

This commit is contained in:
Rohan Barar
2025-08-02 22:41:32 +10:00
parent 88f1e4e96e
commit c25ea7c2fc
7 changed files with 5 additions and 14 deletions

BIN
packages/.DS_Store vendored Normal file

Binary file not shown.

BIN
packages/winapps/.DS_Store vendored Normal file

Binary file not shown.

View File

@@ -37,7 +37,6 @@ stdenv.mkDerivation rec {
];
patches = [
./winapps.patch
./setup.patch
];

View File

@@ -1,11 +0,0 @@
--- a/bin/winapps
+++ b/bin/winapps
@@ -295,7 +295,7 @@ function waCheckGroupMembership() {
# shellcheck disable=SC2155 # Silence warnings regarding masking return values through simultaneous declaration and assignment.
local USER_GROUPS=$(groups "$(whoami)")
- if ! (echo "$USER_GROUPS" | grep -q -E "\blibvirt\b") || ! (echo "$USER_GROUPS" | grep -q -E "\bkvm\b"); then
+ if ! (echo "$USER_GROUPS" | grep -q -E "\blibvirtd\b") || ! (echo "$USER_GROUPS" | grep -q -E "\bkvm\b"); then
waThrowExit "$EC_NOT_IN_GROUP"
fi
}