From 2f1eaf2808181597d724bb0402c4e625d211f509 Mon Sep 17 00:00:00 2001 From: Ahwx Date: Thu, 23 Oct 2025 00:12:48 +0200 Subject: [PATCH] chore: remove unused drive --- hosts/violet/hardware-configuration.nix | 33 ++++++++++++++----------- 1 file changed, 19 insertions(+), 14 deletions(-) diff --git a/hosts/violet/hardware-configuration.nix b/hosts/violet/hardware-configuration.nix index 7f145f3..a0f0140 100644 --- a/hosts/violet/hardware-configuration.nix +++ b/hosts/violet/hardware-configuration.nix @@ -1,14 +1,28 @@ # Do not modify this file! It was generated by ‘nixos-generate-config’ # and may be overwritten by future invocations. Please make changes # to /etc/nixos/configuration.nix instead. -{ config, lib, pkgs, modulesPath, ... }: +{ + config, + lib, + pkgs, + modulesPath, + ... +}: { - imports = - [ (modulesPath + "/installer/scan/not-detected.nix") - ]; + imports = [ + (modulesPath + "/installer/scan/not-detected.nix") + ]; - boot.initrd.availableKernelModules = [ "xhci_pci" "ehci_pci" "uhci_hcd" "hpsa" "usbhid" "usb_storage" "sd_mod" ]; + boot.initrd.availableKernelModules = [ + "xhci_pci" + "ehci_pci" + "uhci_hcd" + "hpsa" + "usbhid" + "usb_storage" + "sd_mod" + ]; boot.initrd.kernelModules = [ ]; boot.kernelModules = [ "kvm-intel" ]; boot.extraModulePackages = [ ]; @@ -18,15 +32,6 @@ fsType = "ext4"; }; - fileSystems."/mnt/array" = { - device = "/dev/disk/by-uuid/c503088f-95aa-4bb0-85eb-d1de1e0158d0"; - fsType = "ext4"; - options = [ - "nofail" # Prevent system from failing if this drive doesn't mount - ]; - }; - - swapDevices = [ ]; # Enables DHCP on each ethernet and wireless interface. In case of scripted networking