framework-2024-09-17-18-14-56
This commit is contained in:
@ -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 ];
|
||||
}
|
@ -88,7 +88,7 @@
|
||||
cursor #e9e9e9
|
||||
selection_background #424242
|
||||
color0 #000000
|
||||
color8 #000000
|
||||
color8 #555555
|
||||
color1 #d44d53
|
||||
color9 #d44d53
|
||||
color2 #b9c949
|
||||
|
@ -21,9 +21,6 @@
|
||||
"wheel"
|
||||
"docker"
|
||||
"networkmanager"
|
||||
"libvirtd"
|
||||
"qemu-libvirtd"
|
||||
"kvm"
|
||||
"lp"
|
||||
"nginx"
|
||||
"scanner"
|
||||
|
35
configs/virtualisation.nix
Executable file
35
configs/virtualisation.nix
Executable 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 ];
|
||||
}
|
Reference in New Issue
Block a user