Actually make the service auto mount please?
This commit is contained in:
parent
5dfd9aff86
commit
4178072d62
|
@ -21,7 +21,7 @@
|
||||||
systemd.services."external-drive-mount@" = {
|
systemd.services."external-drive-mount@" = {
|
||||||
path = with pkgs; [jq coreutils udisks bash util-linux auto-mount];
|
path = with pkgs; [jq coreutils udisks bash util-linux auto-mount];
|
||||||
enable = true;
|
enable = true;
|
||||||
script = "echo auto-mount $@";
|
script = "auto-mount add $@";
|
||||||
scriptArgs = "%i";
|
scriptArgs = "%i";
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
Type = "oneshot";
|
Type = "oneshot";
|
||||||
|
|
Loading…
Reference in a new issue