From b618272097e499f1137ef97ba96de5563e9f9614 Mon Sep 17 00:00:00 2001 From: coolneng Date: Sun, 30 Oct 2022 13:24:40 +0100 Subject: [PATCH] Stop automounting USB and SD cards --- modules/datasync.nix | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/modules/datasync.nix b/modules/datasync.nix index 75b930b..6db7a7f 100644 --- a/modules/datasync.nix +++ b/modules/datasync.nix @@ -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";