gallus: mount sd card

This commit is contained in:
Artemis Tosini 2024-03-07 04:11:39 +00:00
parent 97db6e32ea
commit aa721b56b6
Signed by: artemist
SSH key fingerprint: SHA256:EsuWCwx6fjxxExxf65rX+ocQJJAdw4R1KarpFue6Uwc

View file

@ -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.<interface>.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";