Let's try this then
This commit is contained in:
		
							parent
							
								
									9cd823818c
								
							
						
					
					
						commit
						f89e9796fa
					
				
					 1 changed files with 2 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -22,8 +22,7 @@
 | 
			
		|||
    path = with pkgs; [jq coreutils udisks bash util-linux auto-mount];
 | 
			
		||||
    enable = true;
 | 
			
		||||
    description = "Mount External Drive on %i";
 | 
			
		||||
    script = "auto-mount add";
 | 
			
		||||
    scriptArgs = " %i";
 | 
			
		||||
    script = "auto-mount add $@";
 | 
			
		||||
    serviceConfig = {
 | 
			
		||||
      Type = "oneshot";
 | 
			
		||||
      RemainAfterExit = true;
 | 
			
		||||
| 
						 | 
				
			
			@ -34,8 +33,7 @@
 | 
			
		|||
    path = with pkgs; [jq coreutils udisks bash util-linux auto-mount];
 | 
			
		||||
    enable = true;
 | 
			
		||||
    description = "Mount External Drive on %i";
 | 
			
		||||
    script = "auto-mount remove";
 | 
			
		||||
    scriptArgs = " %i";
 | 
			
		||||
    script = "auto-mount remove $@";
 | 
			
		||||
    serviceConfig = {
 | 
			
		||||
      Type = "oneshot";
 | 
			
		||||
      RemainAfterExit = false;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue