Skip to content

Switch to AMD stuff#51

Merged
UnstoppableMango merged 1 commit into
mainfrom
new-gpu
Oct 26, 2025
Merged

Switch to AMD stuff#51
UnstoppableMango merged 1 commit into
mainfrom
new-gpu

Conversation

@UnstoppableMango

Copy link
Copy Markdown
Owner

No description provided.

Copilot AI review requested due to automatic review settings October 25, 2025 23:59

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR switches the hades host configuration from NVIDIA to AMD graphics hardware. The changes update kernel modules, video drivers, and hardware configuration to support AMD GPUs while removing NVIDIA-specific settings.

Key Changes:

  • Replaced NVIDIA drivers with AMD GPU drivers (amdgpu)
  • Reorganized filesystem mounts and added Docker btrfs bind mount
  • Cleaned up unused kernel modules and networking configuration comments

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
hosts/hades/hardware-configuration.nix Removed unused kernel modules, reordered filesystem mounts, added Docker btrfs bind mount, and cleaned up networking comments
hosts/hades/configuration.nix Added amdgpu kernel module and video driver, commented out NVIDIA hardware configuration, and restructured networking settings

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +34 to 44
fileSystems."/nix" = {
device = "/dev/disk/by-uuid/bcc88460-ce1a-455e-9672-4cb20c25b1bf";
fsType = "btrfs";
options = [ "subvol=home" ];
options = [ "subvol=nix" ];
};

fileSystems."/nix" = {
fileSystems."/home" = {
device = "/dev/disk/by-uuid/bcc88460-ce1a-455e-9672-4cb20c25b1bf";
fsType = "btrfs";
options = [ "subvol=nix" ];
options = [ "subvol=home" ];
};

Copilot AI Oct 25, 2025

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nitpick] The filesystem definitions for /nix and /home have been swapped in position. While functionally correct, this reordering appears arbitrary and reduces code readability. Consider maintaining a consistent ordering convention (e.g., alphabetical or by mount hierarchy) for filesystem definitions.

Copilot uses AI. Check for mistakes.

swapDevices = [ ];
fileSystems."/var/lib/docker/btrfs" = {
device = "/home/root/var/lib/docker/btrfs";

Copilot AI Oct 25, 2025

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The bind mount source path '/home/root/var/lib/docker/btrfs' appears unusual. Typically, 'root' refers to the root user's home directory (/root), not a subdirectory under /home. If this should be the system root directory's path, it should be '/var/lib/docker/btrfs' instead. Verify this path is correct for your intended configuration.

Suggested change
device = "/home/root/var/lib/docker/btrfs";
device = "/var/lib/docker/btrfs";

Copilot uses AI. Check for mistakes.
@UnstoppableMango
UnstoppableMango merged commit 994aa46 into main Oct 26, 2025
2 checks passed
@UnstoppableMango
UnstoppableMango deleted the new-gpu branch October 26, 2025 00:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants