Make sure pgrep is available
This commit is contained in:
		
							parent
							
								
									5d1bd82ba4
								
							
						
					
					
						commit
						464129a7e7
					
				
					 2 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -19,7 +19,7 @@
 | 
			
		|||
  '';
 | 
			
		||||
 | 
			
		||||
  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 toybox auto-mount];
 | 
			
		||||
    enable = true;
 | 
			
		||||
    script = "auto-mount add $@";
 | 
			
		||||
    preStop = "auto-mount remove $@";
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -13,7 +13,7 @@ writeShellApplication
 | 
			
		|||
 | 
			
		||||
  name = "auto-mount";
 | 
			
		||||
 | 
			
		||||
  runtimeInputs = [jq coreutils udisks util-linux];
 | 
			
		||||
  runtimeInputs = [jq coreutils udisks util-linux toybox];
 | 
			
		||||
 | 
			
		||||
  text = ''
 | 
			
		||||
    set -euo pipefail
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue