diff options
author | Adam C. Stephens <2071575+adamcstephens@users.noreply.github.com> | 2024-05-01 09:08:22 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-01 09:08:22 -0400 |
commit | 51cc3442afce83e6d1c4dc8abc683cc9844824ee (patch) | |
tree | 3a66284ae9fdc05261850f5a71997665967fdc2e /nixos/modules | |
parent | e3cd6c03dbfbd9975dd720195b5b87a1fb29fe6e (diff) | |
parent | 4ca0d88d1731dd0932774394b74c7862d4801ba0 (diff) |
Merge pull request #307218 from adamcstephens/incus/more-deps
nixos/incus: add missing packages to path
Diffstat (limited to 'nixos/modules')
-rw-r--r-- | nixos/modules/virtualisation/incus.nix | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/nixos/modules/virtualisation/incus.nix b/nixos/modules/virtualisation/incus.nix index 2d7ccac7d92c8..4d04853d20a56 100644 --- a/nixos/modules/virtualisation/incus.nix +++ b/nixos/modules/virtualisation/incus.nix @@ -9,7 +9,7 @@ let cfg = config.virtualisation.incus; preseedFormat = pkgs.formats.yaml { }; - serverBinPath = ''${pkgs.qemu_kvm}/libexec:${ + serverBinPath = ''/run/wrappers/bin:${pkgs.qemu_kvm}/libexec:${ lib.makeBinPath ( with pkgs; [ @@ -33,30 +33,41 @@ let gzip iproute2 iptables + iw kmod + libnvidia-container + libxfs lvm2 minio + minio-client nftables - qemu_kvm qemu-utils + qemu_kvm rsync + squashfs-tools-ng squashfsTools + sshfs swtpm systemd thin-provisioning-tools util-linux virtiofsd + xdelta xz + ] + ++ lib.optionals config.security.apparmor.enable [ + apparmor-bin-utils (writeShellScriptBin "apparmor_parser" '' exec '${apparmor-parser}/bin/apparmor_parser' -I '${apparmor-profiles}/etc/apparmor.d' "$@" '') ] + ++ lib.optionals config.services.ceph.client.enable [ ceph-client ] + ++ lib.optionals config.virtualisation.vswitch.enable [ config.virtualisation.vswitch.package ] ++ lib.optionals config.boot.zfs.enabled [ config.boot.zfs.package "${config.boot.zfs.package}/lib/udev" ] - ++ lib.optionals config.virtualisation.vswitch.enable [ config.virtualisation.vswitch.package ] ) }''; |