Can't add that

This commit is contained in:
Lillian Violet 2024-03-20 23:18:10 +01:00
parent 83e04ab281
commit adbd60c266

View file

@ -15,7 +15,7 @@
KERNEL=="nvme0n1p9|nvme0n1p1[0-9]", ACTION=="remove", RUN+="${pkgs.systemd}/bin/systemctl stop --no-block external-drive-mount@%k.service" KERNEL=="nvme0n1p9|nvme0n1p1[0-9]", ACTION=="remove", RUN+="${pkgs.systemd}/bin/systemctl stop --no-block external-drive-mount@%k.service"
''; '';
systemd.services."external-drive-mount@" = { systemd.services."external-drive-mount@" = {
path = with pkgs; [jq coreutils udisks bash automount]; path = with pkgs; [jq coreutils udisks bash];
enable = true; enable = true;
description = "Mount External Drive on %i"; description = "Mount External Drive on %i";
serviceConfig = { serviceConfig = {