feat: aqua - mount usb storage

This commit is contained in:
Ryan Yin
2024-07-31 09:43:30 +08:00
parent 880e0ac65e
commit c059d90b17
2 changed files with 14 additions and 0 deletions

View File

@@ -1,6 +1,7 @@
{
mylib,
myvars,
pkgs,
...
}:
#############################################################
@@ -25,6 +26,7 @@ in {
"exfat"
];
boot.kernelPackages = pkgs.linuxPackages_latest;
boot.kernelModules = ["kvm-amd"];
boot.extraModprobeConfig = "options kvm_amd nested=1"; # for amd cpu

View File

@@ -0,0 +1,12 @@
{
fileSystems."/data/downloads" = {
device = "/dev/disk/by-label/Downloads";
fsType = "ntfs-3g";
options = ["rw" "uid=1000"];
};
fileSystems."/data/games" = {
device = "/dev/disk/by-label/Games";
fsType = "ntfs-3g";
options = ["rw" "uid=1000"];
};
}