about summary refs log tree commit diff stats
path: root/hosts/lahmu
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/lahmu')
-rw-r--r--hosts/lahmu/default.nix24
-rw-r--r--hosts/lahmu/hardware/cpu.nix4
-rw-r--r--hosts/lahmu/hardware/default.nix33
-rw-r--r--hosts/lahmu/hardware/gpu.nix15
-rw-r--r--hosts/lahmu/networking.nix14
5 files changed, 0 insertions, 90 deletions
diff --git a/hosts/lahmu/default.nix b/hosts/lahmu/default.nix
deleted file mode 100644
index 94d8b054..00000000
--- a/hosts/lahmu/default.nix
+++ /dev/null
@@ -1,24 +0,0 @@
-{
-  config,
-  lib,
-  nixpkgs,
-  home-manager,
-  ...
-}: {
-  imports = [
-    ./hardware
-    ./networking.nix
-
-    ../../sys
-  ];
-
-  soispha = {
-    locale.enable = true;
-    users = {
-      # enable = true;
-      hashedPassword = "$y$jFT$qi3wS9njrMl2y55b3NOBI0$j40Qt6AAkMSfZ82KPhqMaUaPztWtPps1wOqaXaF/L.6";
-    };
-  };
-
-  system.stateVersion = "23.05";
-}
diff --git a/hosts/lahmu/hardware/cpu.nix b/hosts/lahmu/hardware/cpu.nix
deleted file mode 100644
index 2d7232cd..00000000
--- a/hosts/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/lahmu/hardware/default.nix b/hosts/lahmu/hardware/default.nix
deleted file mode 100644
index bc7b1f96..00000000
--- a/hosts/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/lahmu/hardware/gpu.nix b/hosts/lahmu/hardware/gpu.nix
deleted file mode 100644
index 88c9b88a..00000000
--- a/hosts/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";
-}
diff --git a/hosts/lahmu/networking.nix b/hosts/lahmu/networking.nix
deleted file mode 100644
index 1ef69e7c..00000000
--- a/hosts/lahmu/networking.nix
+++ /dev/null
@@ -1,14 +0,0 @@
-{
-  config,
-  lib,
-  ...
-}: {
-  # Enables DHCP on each ethernet and wireless interface. In case of scripted networking
-  # (the default) this is the recommended approach. When using systemd-networkd it's
-  # still possible to use this option, but it's recommended to use it in conjunction
-  # with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
-  networking.useDHCP = lib.mkDefault true;
-  # networking.interfaces.enp0s31f6.useDHCP = lib.mkDefault true;
-  # networking.interfaces.wlp3s0.useDHCP = lib.mkDefault true;
-  networking.hostName = "lahmu";
-}