framework-2024-09-17-18-14-56

This commit is contained in:
Alexander Szczepanski
2024-09-17 18:14:56 +02:00
parent 95eaa7840f
commit 84cf4f9393
9 changed files with 83 additions and 73 deletions

View File

@ -1,31 +0,0 @@
{ pkgs, ... }:
{
users.extraGroups.vboxusers.members = [ "alex" ];
virtualisation = {
virtualbox.host ={
enable = true;
# enableExtensionPack = true;
};
libvirtd = {
enable = true;
qemu = {
package = pkgs.qemu_kvm;
swtpm.enable = true;
ovmf = {
enable = true;
packages = [
(pkgs.OVMF.override {
secureBoot = true;
tpmSupport = true;
}).fd
];
};
};
};
spiceUSBRedirection.enable = true;
};
environment.systemPackages = with pkgs; [ proot virtiofsd ];
}

View File

@ -88,7 +88,7 @@
cursor #e9e9e9
selection_background #424242
color0 #000000
color8 #000000
color8 #555555
color1 #d44d53
color9 #d44d53
color2 #b9c949

View File

@ -21,9 +21,6 @@
"wheel"
"docker"
"networkmanager"
"libvirtd"
"qemu-libvirtd"
"kvm"
"lp"
"nginx"
"scanner"

35
configs/virtualisation.nix Executable file
View File

@ -0,0 +1,35 @@
{ pkgs, ... }:
{
users.extraGroups.vboxusers.members = [ "alex" ];
# "libvirtd"
# "qemu-libvirtd"
# "kvm"
virtualisation = {
virtualbox.host ={
enable = true;
enableExtensionPack = true;
};
# libvirtd = {
# enable = true;
# qemu = {
# package = pkgs.qemu_kvm;
# swtpm.enable = true;
# ovmf = {
# enable = true;
# packages = [
# (pkgs.OVMF.override {
# secureBoot = true;
# tpmSupport = true;
# }).fd
# ];
# };
# };
# };
# spiceUSBRedirection.enable = true;
};
# environment.systemPackages = with pkgs; [ proot virtiofsd ];
}