File tree Expand file tree Collapse file tree 3 files changed +21
-6
lines changed
Expand file tree Collapse file tree 3 files changed +21
-6
lines changed Original file line number Diff line number Diff line change 44 xserver = {
55 videoDrivers = [
66 "nvidia"
7+ # "amdgpu"
78 "fbdev"
89 ] ;
910 deviceSection = ''
1011 Driver "nvidia"
1112 VendorName "NVIDIA Corporation"
1213 BoardName "NVIDIA GeForce GTX 1050 Ti"
13- BusID "PCI:11 :0:0"
14+ BusID "PCI:03 :0:0"
1415 '' ;
16+ # deviceSection = ''
17+ # Driver "amdgpu"
18+ # VendorName "AMD"
19+ # BoardName "Radeon Graphics"
20+ # BusID "PCI:0e:0:0"
21+ # '';
1522 screenSection = ''
1623 DefaultDepth 24
1724 Option "Stereo" "0"
Original file line number Diff line number Diff line change 2222 networking = {
2323 hostName = "${ hostname } " ;
2424 hostId = "bcf1bfe4" ;
25- interfaces . enp5s0 . wakeOnLan . enable = true ;
25+ # interfaces.enp5s0.wakeOnLan.enable = true;
2626 nftables . enable = true ;
2727 firewall = {
2828 enable = true ;
9797 # };
9898 } ;
9999 networks = {
100- "10-wired" = {
100+ # "10-wired-2.5G" = {
101+ # matchConfig = {
102+ # MACAddress = "60:cf:84:a1:c1:18"; # 2.5G
103+ # };
104+ # bridge = [ "br0" ];
105+ # };
106+ "10-wired-1.0G" = {
101107 matchConfig = {
102- MACAddress = "f0:2f:74:dc:3b:4b" ;
108+ MACAddress = "60:cf:84:a1:c1:19" ; # 1G
103109 } ;
104110 bridge = [ "br0" ] ;
105111 } ;
Original file line number Diff line number Diff line change 55 ../../../apps/system/virtualisation/podman
66 ../../../apps/system/virtualisation/waydroid
77 ] ;
8+ boot . kernelParams = [ "kvm_amd.avic=1" ] ;
89 virtualisation = {
910 vfio = {
1011 enable = true ;
1112 IOMMUType = "amd" ;
1213 enableNestedVirtualization = true ;
1314 devices = [
14- "10de:2504"
15- "10de:228e"
15+ "10de:2c05"
16+ "10de:22e9"
17+ "1e0f:0009"
1618 ] ;
1719 # deviceDomains = [ "0000:09:00.0" "0000:09:00.1" ];
1820 blacklistNvidia = false ;
You can’t perform that action at this time.
0 commit comments