aboutsummaryrefslogtreecommitdiffstats
path: root/hosts/_unmaintained/lahmu/hardware
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/_unmaintained/lahmu/hardware')
-rw-r--r--hosts/_unmaintained/lahmu/hardware/cpu.nix4
-rw-r--r--hosts/_unmaintained/lahmu/hardware/default.nix33
-rw-r--r--hosts/_unmaintained/lahmu/hardware/gpu.nix15
3 files changed, 0 insertions, 52 deletions
diff --git a/hosts/_unmaintained/lahmu/hardware/cpu.nix b/hosts/_unmaintained/lahmu/hardware/cpu.nix
deleted file mode 100644
index 2d7232cd..00000000
--- a/hosts/_unmaintained/lahmu/hardware/cpu.nix
+++ /dev/null
@@ -1,4 +0,0 @@
-{config, ...}: {
- powerManagement.cpuFreqGovernor = "powersave";
- hardware.cpu.amd.updateMicrocode = true; # Why not?
-}
diff --git a/hosts/_unmaintained/lahmu/hardware/default.nix b/hosts/_unmaintained/lahmu/hardware/default.nix
deleted file mode 100644
index bc7b1f96..00000000
--- a/hosts/_unmaintained/lahmu/hardware/default.nix
+++ /dev/null
@@ -1,33 +0,0 @@
-{
- config,
- lib,
- pkgs,
- modulesPath,
- ...
-}: {
- imports = [
- (modulesPath + "/installer/scan/not-detected.nix") # TODO: is this necessary?
- (modulesPath + "/profiles/qemu-guest.nix")
- ./cpu.nix
- ./gpu.nix
- ];
-
- nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
-
- system.fileSystemLayouts = {
- enable = true;
- mainDisk = "/dev/disk/by-uuid/c0382dda-1f55-4209-967d-b8b22cb0f6e1";
- efiDisk = "/dev/disk/by-uuid/167D-2F0B";
- ssd = true;
- swap = {
- uuid = "c0382dda-1f55-4209-967d-b8b22cb0f6e1";
- resumeOffset = "140544";
- };
- };
-
- boot = {
- kernelModules = [];
-
- initrd.availableKernelModules = ["ahci" "xhci_pci" "virtio_pci" "sr_mod" "virtio_blk"];
- };
-}
diff --git a/hosts/_unmaintained/lahmu/hardware/gpu.nix b/hosts/_unmaintained/lahmu/hardware/gpu.nix
deleted file mode 100644
index 88c9b88a..00000000
--- a/hosts/_unmaintained/lahmu/hardware/gpu.nix
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- config,
- pkgs,
- lib,
- ...
-}: {
- # hardware.opengl.extraPackages = with pkgs; [
- # rocm-opencl-icd # open-cl
- # amdvlk # or directly through mesa
- # amd-media-driver # libva
- # ];
- #
- # # Force radv, TODO: is this logical?
- # environment.variables.AMD_VULKAN_ICD = "RADV";
-}