cleanup: laptop back alive!!! so time to actually start configuring
This commit is contained in:
parent
a14eff461b
commit
05d7340746
10 changed files with 131 additions and 368 deletions
|
@ -8,7 +8,6 @@ let
|
|||
gpuIDs = [
|
||||
"1002:7480" # Graphics
|
||||
"1002:ab30" # Audio
|
||||
"1022:15c0" # Top Right physical USB C port
|
||||
];
|
||||
in {
|
||||
options.vfio.enable = with lib;
|
||||
|
@ -27,11 +26,18 @@ in {
|
|||
|
||||
config = let cfg = config.vfio;
|
||||
in {
|
||||
# TODO: Right now, I need to manually start
|
||||
# the network bridge interface with systemctl start network-addresses-winvm0.service,
|
||||
# and potentially toggle the link state in the vm config
|
||||
# to get this working. would be good to fix it.
|
||||
networking.bridges = {
|
||||
"winvm0" = {
|
||||
interfaces = [ "eth0" ];
|
||||
};
|
||||
};
|
||||
|
||||
# These are needed, since I'm not currently trying to
|
||||
# reserve a static IP for the bridge interface
|
||||
networking.interfaces.eth0.useDHCP = true;
|
||||
networking.interfaces.winvm0.useDHCP = true;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue