mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-07-03 03:21:34 +02:00
feat: aqua - mount usb storage
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
{
|
{
|
||||||
mylib,
|
mylib,
|
||||||
myvars,
|
myvars,
|
||||||
|
pkgs,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
#############################################################
|
#############################################################
|
||||||
@@ -25,6 +26,7 @@ in {
|
|||||||
"exfat"
|
"exfat"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
boot.kernelPackages = pkgs.linuxPackages_latest;
|
||||||
boot.kernelModules = ["kvm-amd"];
|
boot.kernelModules = ["kvm-amd"];
|
||||||
boot.extraModprobeConfig = "options kvm_amd nested=1"; # for amd cpu
|
boot.extraModprobeConfig = "options kvm_amd nested=1"; # for amd cpu
|
||||||
|
|
||||||
|
|||||||
@@ -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"];
|
||||||
|
};
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user