diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-10-18 19:27:16 +0200 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-10-18 19:30:19 +0200 |
commit | c417f127e973491b46f204e397f8152ba5d06254 (patch) | |
tree | 62f9d6986c3fc8a74d1ac8e680eb3644ce33e103 /hosts/mammun | |
parent | fix(modules/legacy/conf/zsh): Move ENV-vars to their own modules (diff) | |
download | nixos-config-c417f127e973491b46f204e397f8152ba5d06254.zip |
refactor(hosts): Move all unmaintained hosts to the `_unmaintained` dir
Diffstat (limited to 'hosts/mammun')
-rw-r--r-- | hosts/mammun/default.nix | 23 | ||||
-rw-r--r-- | hosts/mammun/hardware/cpu.nix | 3 | ||||
-rw-r--r-- | hosts/mammun/hardware/default.nix | 27 | ||||
-rw-r--r-- | hosts/mammun/hardware/gpu.nix | 14 | ||||
-rw-r--r-- | hosts/mammun/networking.nix | 16 |
5 files changed, 0 insertions, 83 deletions
diff --git a/hosts/mammun/default.nix b/hosts/mammun/default.nix deleted file mode 100644 index 5c66d9fa..00000000 --- a/hosts/mammun/default.nix +++ /dev/null @@ -1,23 +0,0 @@ -{ - config, - lib, - nixpkgs, - home-manager, - pkgs, - ... -}: { - imports = [ - ./hardware - ./networking.nix - - ../../sys - ]; - soispha = { - locale.enable = true; - users = { - hashedPassword = "$y$jDT$O/42/7REOL50onRYcTV9R1$Ot3bPAh2raHmPN3yScP4wsJRtNqrMtTBzOq9oRJeRA0"; - }; - }; - - system.stateVersion = "23.05"; -} diff --git a/hosts/mammun/hardware/cpu.nix b/hosts/mammun/hardware/cpu.nix deleted file mode 100644 index 70eaff6f..00000000 --- a/hosts/mammun/hardware/cpu.nix +++ /dev/null @@ -1,3 +0,0 @@ -{...}: { - hardware.cpu.amd.updateMicrocode = true; # Why not? -} diff --git a/hosts/mammun/hardware/default.nix b/hosts/mammun/hardware/default.nix deleted file mode 100644 index b1683d47..00000000 --- a/hosts/mammun/hardware/default.nix +++ /dev/null @@ -1,27 +0,0 @@ -{ - 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"]; - }; -} diff --git a/hosts/mammun/hardware/gpu.nix b/hosts/mammun/hardware/gpu.nix deleted file mode 100644 index 939497db..00000000 --- a/hosts/mammun/hardware/gpu.nix +++ /dev/null @@ -1,14 +0,0 @@ -{pkgs, ...}: { - boot.initrd.kernelModules = ["amdgpu"]; - # for Southern Islands (SI ie. GCN 1) cards and for Sea Islands (CIK ie. GCN 2) cards - boot.kernelParams = ["radeon.si_support=0" "amdgpu.si_support=1" "radeon.cik_support=0" "amdgpu.cik_support=1"]; - - hardware.opengl.driSupport = true; - # For 32 bit applications - hardware.opengl.driSupport32Bit = true; - - hardware.opengl.extraPackages = with pkgs; [ - rocm-opencl-icd - rocm-opencl-runtime - ]; -} diff --git a/hosts/mammun/networking.nix b/hosts/mammun/networking.nix deleted file mode 100644 index e243ebe0..00000000 --- a/hosts/mammun/networking.nix +++ /dev/null @@ -1,16 +0,0 @@ -{ - config, - lib, - ... -}: { - networking = { - networkmanager = { - enable = true; - dns = "default"; - wifi = { - powersave = true; - }; - }; - hostName = "mammun"; - }; -} |