adding libvirt stuff

This commit is contained in:
Chris Cochrun 2022-09-26 17:03:47 -05:00
parent b464cd3499
commit 1e63034c0b
4 changed files with 77 additions and 13 deletions

View file

@ -40,6 +40,20 @@ imports =
virtualisation.podman.enable = true;
virtualisation.docker.enable = true;
virtualisation.libvirtd = {
enable = true;
qemu = {
runAsRoot = false;
ovmf = {
enable = true;
packages = [
pkgs.OVMFFull.fd
pkgs.pkgsCross.aarch64-multiplatform.OVMF.fd
];
};
swtpm.enable = true;
};
};
# Select internationalisation properties.
i18n.defaultLocale = "en_US.UTF-8";
@ -200,6 +214,8 @@ imports =
pandoc
samba
blesh
# OVMFFull
quickemu
discover
# kde-rounded-corners
lightly-qt
@ -256,6 +272,8 @@ imports =
# appflowy
darktable
qutebrowser
virt-manager
virt-viewer
# firefox
kate
kdialog
@ -294,8 +312,6 @@ imports =
macchina
gimp
powertop
quickemu
OVMFFull
element-desktop-wayland
scrcpy
python
@ -377,7 +393,13 @@ imports =
services.emacs = {
enable = true;
package = with pkgs; ((emacsPackagesFor emacsNativeComp).emacsWithPackages (epkgs: [ epkgs.vterm epkgs.magit epkgs.pdf-tools pkgs.mu ]));
package = with pkgs; ((emacsPackagesFor emacsNativeComp).emacsWithPackages [
(epkgs: with epkgs.melpaPackages; [
epkgs.vterm
epkgs.magit
epkgs.pdf-tools
])
pkgs.mu ]);
};
services.samba-wsdd.enable = true;
services.samba = {

View file

@ -40,6 +40,20 @@
virtualisation.podman.enable = true;
virtualisation.docker.enable = true;
virtualisation.libvirtd = {
enable = true;
qemu = {
runAsRoot = false;
ovmf = {
enable = true;
packages = [
pkgs.OVMFFull.fd
pkgs.pkgsCross.aarch64-multiplatform.OVMF.fd
];
};
swtpm.enable = true;
};
};
# Select internationalisation properties.
i18n.defaultLocale = "en_US.UTF-8";
@ -213,6 +227,8 @@
pandoc
samba
blesh
# OVMFFull
quickemu
discover
# kde-rounded-corners
lightly-qt
@ -269,6 +285,8 @@
# appflowy
darktable
qutebrowser
virt-manager
virt-viewer
# firefox
kate
kdialog
@ -307,8 +325,6 @@
macchina
gimp
powertop
quickemu
OVMFFull
element-desktop-wayland
scrcpy
python