Stop automounting USB and SD cards
This commit is contained in:
parent
15871451e0
commit
b618272097
|
@ -84,18 +84,6 @@
|
||||||
|
|
||||||
# Automount external storage
|
# Automount external storage
|
||||||
systemd.mounts = [
|
systemd.mounts = [
|
||||||
# USB
|
|
||||||
{
|
|
||||||
what = "/dev/sda1";
|
|
||||||
where = "/usb";
|
|
||||||
mountConfig = { TimeoutSec = "5"; };
|
|
||||||
}
|
|
||||||
# SD card
|
|
||||||
{
|
|
||||||
what = "/dev/mmcblk0p1";
|
|
||||||
where = "/sdcard";
|
|
||||||
mountConfig = { TimeoutSec = "5"; };
|
|
||||||
}
|
|
||||||
# UGent Samba
|
# UGent Samba
|
||||||
{
|
{
|
||||||
what = "//files.ugent.be/akasroua/home";
|
what = "//files.ugent.be/akasroua/home";
|
||||||
|
@ -107,18 +95,6 @@
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
systemd.automounts = [
|
systemd.automounts = [
|
||||||
# USB
|
|
||||||
{
|
|
||||||
where = "/usb";
|
|
||||||
automountConfig = { TimeoutIdleSec = "5"; };
|
|
||||||
wantedBy = [ "default.target" ];
|
|
||||||
}
|
|
||||||
# SD card
|
|
||||||
{
|
|
||||||
where = "/sdcard";
|
|
||||||
automountConfig = { TimeoutIdleSec = "5"; };
|
|
||||||
wantedBy = [ "default.target" ];
|
|
||||||
}
|
|
||||||
# UGent Samba
|
# UGent Samba
|
||||||
{
|
{
|
||||||
where = "/ugent";
|
where = "/ugent";
|
||||||
|
|
Loading…
Reference in New Issue