kasei: use amd gpu

This commit is contained in:
Oystein Kristoffer Tveit 2024-08-01 00:47:46 +02:00
parent 799e51f5e8
commit 3fd7ae0b84
Signed by: oysteikt
GPG Key ID: 9F2F7D8250F35146
2 changed files with 3 additions and 10 deletions

View File

@ -21,7 +21,7 @@ Here are some of the interesting files and dirs:
| Host | Machine type | Purpose | | Host | Machine type | Purpose |
|------|--------------|---------| |------|--------------|---------|
| `Tsuki` | Dell Poweredge r710 server | Data storage / Build server / Selfhosted services. This server hosts a wide variety of services, including websites, matrix server, git repos, CI/CD and more. **This is probably the most interesting machine to pick config from** | | `Tsuki` | Dell Poweredge r710 server | Data storage / Build server / Selfhosted services. This server hosts a wide variety of services, including websites, matrix server, git repos, CI/CD and more. **This is probably the most interesting machine to pick config from** |
| `Kasei` | AMD Zen 2 CPU / Nvidia GPU - desktop computer | Semi-daily driver. This is my main computer at home. | | `Kasei` | AMD Zen 2 CPU / AMD GPU - desktop computer | Semi-daily driver. This is my main computer at home. |
| `Dosei` | Dell Optiplex | Work computer, mostly used for development and testing. | | `Dosei` | Dell Optiplex | Work computer, mostly used for development and testing. |
| `Europa` | Dell Optiplex | Other work computer, used as nix builder for `Dosei`. | | `Europa` | Dell Optiplex | Other work computer, used as nix builder for `Dosei`. |

View File

@ -75,7 +75,7 @@
enable = true; enable = true;
settings.X11Forwarding = true; settings.X11Forwarding = true;
}; };
xserver.videoDrivers = [ "nvidia" ]; xserver.videoDrivers = [ "amdgpu" ];
tailscale.enable = true; tailscale.enable = true;
avahi = { avahi = {
enable = true; enable = true;
@ -91,13 +91,11 @@
boot = { boot = {
initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usb_storage" "usbhid" "sd_mod" "sr_mod" ]; initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usb_storage" "usbhid" "sd_mod" "sr_mod" ];
initrd.kernelModules = [ ]; initrd.kernelModules = [ "amdgpu" ];
# kernelPackages = pkgs.linuxKernel.packages.linux_zen.zfs; # kernelPackages = pkgs.linuxKernel.packages.linux_zen.zfs;
kernelPackages = config.boot.zfs.package.latestCompatibleLinuxPackages; kernelPackages = config.boot.zfs.package.latestCompatibleLinuxPackages;
kernelModules = [ "kvm-amd" ]; kernelModules = [ "kvm-amd" ];
blacklistedKernelModules = [ "nouveau" ];
kernelParams = [ "nomodeset" ];
supportedFilesystems = [ "zfs" ]; supportedFilesystems = [ "zfs" ];
loader = { loader = {
@ -146,10 +144,5 @@
driSupport = true; driSupport = true;
driSupport32Bit = true; driSupport32Bit = true;
}; };
nvidia = {
modesetting.enable = true;
nvidiaSettings = true;
};
}; };
} }