From aa721b56b67827322d800db0abfa8982a615cf90 Mon Sep 17 00:00:00 2001 From: Artemis Tosini Date: Thu, 7 Mar 2024 04:11:39 +0000 Subject: [PATCH] gallus: mount sd card --- system/gallus/hardware-configuration.nix | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/system/gallus/hardware-configuration.nix b/system/gallus/hardware-configuration.nix index 0c88a4c..0d674f6 100644 --- a/system/gallus/hardware-configuration.nix +++ b/system/gallus/hardware-configuration.nix @@ -14,11 +14,8 @@ boot.initrd.availableKernelModules = [ "nvme" - "dwc3_pci" "xhci_pci" "usbhid" - "usb_storage" - "sd_mod" "sdhci_pci" ]; boot.initrd.kernelModules = [ ]; @@ -35,6 +32,11 @@ fsType = "vfat"; }; + fileSystems."/media/µsd" = { + device = "/dev/disk/by-uuid/9a4ff113-bd87-49be-94df-2217ac72e253"; + fsType = "ext4"; + }; + swapDevices = [ { device = "/dev/disk/by-uuid/6cdcaab1-a216-4615-89e7-75e99c1339bb"; } ]; # Enables DHCP on each ethernet and wireless interface. In case of scripted networking @@ -42,7 +44,6 @@ # still possible to use this option, but it's recommended to use it in conjunction # with explicit per-interface declarations with `networking.interfaces..useDHCP`. networking.useDHCP = lib.mkDefault true; - # networking.interfaces.enp4s0f3u1u1c2.useDHCP = lib.mkDefault true; # networking.interfaces.wlo1.useDHCP = lib.mkDefault true; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";