feat: FAST looking glass! TONS of time on this jesus christ
This commit is contained in:
parent
d094ec0247
commit
ff4eccfb99
8 changed files with 331 additions and 72 deletions
|
@ -26,6 +26,8 @@
|
|||
./user-system-config.nix
|
||||
|
||||
./vm.nix
|
||||
(import ./kvmfr.nix { std = inputs.nix-std.lib; lib = lib; pkgs = pkgs; config = config; })
|
||||
./libvirtd.nix
|
||||
];
|
||||
|
||||
vfio = {
|
||||
|
@ -34,6 +36,36 @@
|
|||
applyACSpatch = true;
|
||||
};
|
||||
|
||||
virtualisation.kvmfr = {
|
||||
enable = true;
|
||||
|
||||
devices = [
|
||||
{
|
||||
size = 128;
|
||||
|
||||
permissions = {
|
||||
user = "evar";
|
||||
group = "qemu-libvirtd";
|
||||
mode = "0660";
|
||||
};
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
# # https://gist.github.com/j-brn/716a03822d256bc5bf5d77b951c7915c
|
||||
# virtualisation.kvmfr = {
|
||||
# enable = true;
|
||||
|
||||
# shm = {
|
||||
# enable = true;
|
||||
|
||||
# size = 64;
|
||||
# user = "evar";
|
||||
# group = "libvirtd";
|
||||
# mode = "0660";
|
||||
# };
|
||||
# };
|
||||
|
||||
# Allows referring to this flake by the shorthand `nixos-config`, which lets you do e.g.
|
||||
# nix repl nixos-config
|
||||
nix.registry.nixos-config.to = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue