From c417f127e973491b46f204e397f8152ba5d06254 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Fri, 18 Oct 2024 19:27:16 +0200 Subject: refactor(hosts): Move all unmaintained hosts to the `_unmaintained` dir --- hosts/_unmaintained/mammun/hardware/default.nix | 27 +++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 hosts/_unmaintained/mammun/hardware/default.nix (limited to 'hosts/_unmaintained/mammun/hardware/default.nix') diff --git a/hosts/_unmaintained/mammun/hardware/default.nix b/hosts/_unmaintained/mammun/hardware/default.nix new file mode 100644 index 00000000..b1683d47 --- /dev/null +++ b/hosts/_unmaintained/mammun/hardware/default.nix @@ -0,0 +1,27 @@ +{ + config, + lib, + pkgs, + modulesPath, + ... +}: { + imports = [ + (modulesPath + "/installer/scan/not-detected.nix") + ./cpu.nix + ./gpu.nix + ]; + + nixpkgs.hostPlatform = "x86_64-linux"; + + system.fileSystemLayouts = { + enable = true; + mainDisk = "/dev/disk/by-uuid/ac6c5efd-51a7-42e7-a8cd-668a350554b1"; + efiDisk = "/dev/disk/by-uuid/7931-40E5"; + }; + + boot = { + kernelModules = ["kvm-amd"]; + + initrd.availableKernelModules = ["xhci_pci" "ahci" "ehci_pci" "sd_mod" "sr_mod" "sdhci_pci"]; + }; +} -- cgit 1.4.1