mirror of
https://github.com/willemml/dotfiles.nix.git
synced 2025-04-12 11:17:17 +00:00
Enables virtualization features for glassbox, adds kde-polkit
This commit is contained in:
parent
3a7b53fb17
commit
435479730a
2 changed files with 18 additions and 0 deletions
|
@ -21,6 +21,7 @@ in {
|
|||
then firefox-wv
|
||||
else firefox
|
||||
)
|
||||
polkit-kde-agent
|
||||
lxappearance
|
||||
pipewire
|
||||
polkit-kde-agent
|
||||
|
@ -79,6 +80,8 @@ in {
|
|||
"${pkgs.wl-clipboard}/bin/wl-paste | ${pkgs.wl-clipboard}/bin/wl-copy -p"
|
||||
|
||||
"${pkgs.swaynotificationcenter}/bin/swaync"
|
||||
|
||||
"${pkgs.polkit-kde-agent}/libexec/polkit-kde-authentication-agent-1"
|
||||
];
|
||||
|
||||
xwayland.force_zero_scaling = true;
|
||||
|
|
|
@ -20,6 +20,21 @@
|
|||
|
||||
boot.kernelParams = let vfio-pci-devs = ["10de:2482" "10de:228b"]; in ["intel_iommu=on" ("vfio-pci.ids=" + lib.concatStringsSep "," vfio-pci-devs)];
|
||||
|
||||
virtualisation.libvirtd = {
|
||||
enable = true;
|
||||
qemu.ovmf.enable = true;
|
||||
qemu.swtpm.enable = true;
|
||||
qemu.ovmf.packages = [
|
||||
(pkgs.OVMF.override (old: {
|
||||
secureBoot = true;
|
||||
tpmSupport = true;
|
||||
}))
|
||||
.fd
|
||||
];
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [virt-manager libvirt];
|
||||
|
||||
virtualisation.spiceUSBRedirection.enable = true;
|
||||
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
|
|
Loading…
Add table
Reference in a new issue