From 5918117ce32e8e2e63308b55b632db4d8bc5c44c Mon Sep 17 00:00:00 2001 From: Armel van Ravels Date: Wed, 28 Jan 2026 23:06:44 +0100 Subject: [PATCH] Add extra /media mount --- systems/legolas/hardware-configuration.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/systems/legolas/hardware-configuration.nix b/systems/legolas/hardware-configuration.nix index 15ff426..e9b756f 100644 --- a/systems/legolas/hardware-configuration.nix +++ b/systems/legolas/hardware-configuration.nix @@ -8,7 +8,7 @@ [ (modulesPath + "/installer/scan/not-detected.nix") ]; - boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usbhid" "usb_storage" "sd_mod" ]; + boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usbhid" "sd_mod" ]; boot.initrd.kernelModules = [ ]; boot.kernelModules = [ "kvm-intel" ]; boot.extraModulePackages = [ ]; @@ -24,6 +24,11 @@ options = [ "fmask=0022" "dmask=0022" ]; }; + fileSystems."/media" = + { device = "/dev/disk/by-uuid/faa2f6ba-00a5-46e4-9b03-a031509dd232"; + fsType = "ext4"; + }; + swapDevices = [ ]; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";