Stop automounting USB and SD cards

This commit is contained in:
coolneng 2022-10-30 13:24:40 +01:00
parent 15871451e0
commit b618272097
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
1 changed files with 0 additions and 24 deletions

View File

@ -84,18 +84,6 @@
# Automount external storage
systemd.mounts = [
# USB
{
what = "/dev/sda1";
where = "/usb";
mountConfig = { TimeoutSec = "5"; };
}
# SD card
{
what = "/dev/mmcblk0p1";
where = "/sdcard";
mountConfig = { TimeoutSec = "5"; };
}
# UGent Samba
{
what = "//files.ugent.be/akasroua/home";
@ -107,18 +95,6 @@
}
];
systemd.automounts = [
# USB
{
where = "/usb";
automountConfig = { TimeoutIdleSec = "5"; };
wantedBy = [ "default.target" ];
}
# SD card
{
where = "/sdcard";
automountConfig = { TimeoutIdleSec = "5"; };
wantedBy = [ "default.target" ];
}
# UGent Samba
{
where = "/ugent";