sane-scripts: lift sane-mount-servo
out of resholve
This commit is contained in:
parent
c542e120ef
commit
7907623887
|
@ -39,6 +39,7 @@ let
|
||||||
openssh
|
openssh
|
||||||
openssl
|
openssl
|
||||||
nix-shell-scripts.ip-check
|
nix-shell-scripts.ip-check
|
||||||
|
nix-shell-scripts.mount-servo
|
||||||
rmlint
|
rmlint
|
||||||
rsync
|
rsync
|
||||||
ssh-to-age
|
ssh-to-age
|
||||||
|
@ -184,6 +185,16 @@ let
|
||||||
pname = "sane-ip-reconnect";
|
pname = "sane-ip-reconnect";
|
||||||
src = ./src;
|
src = ./src;
|
||||||
};
|
};
|
||||||
|
mount-servo = static-nix-shell.mkBash {
|
||||||
|
pname = "sane-mount-servo";
|
||||||
|
src = ./src;
|
||||||
|
pkgs = [ "coreutils-full" ];
|
||||||
|
};
|
||||||
|
mount-servo-root = static-nix-shell.mkBash {
|
||||||
|
pname = "sane-mount-servo-root";
|
||||||
|
src = ./src;
|
||||||
|
pkgs = [ "coreutils-full" ];
|
||||||
|
};
|
||||||
reclaim-boot-space = static-nix-shell.mkPython3Bin {
|
reclaim-boot-space = static-nix-shell.mkPython3Bin {
|
||||||
pname = "sane-reclaim-boot-space";
|
pname = "sane-reclaim-boot-space";
|
||||||
src = ./src;
|
src = ./src;
|
||||||
|
|
|
@ -1,4 +1,7 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env nix-shell
|
||||||
|
#!nix-shell -i bash -p coreutils-full
|
||||||
|
#^ requires `sudo` and `mount` to be installed system-wide (suid)
|
||||||
|
|
||||||
set -ex
|
set -ex
|
||||||
|
|
||||||
# if lan not mounted, then try to mount it
|
# if lan not mounted, then try to mount it
|
||||||
|
|
|
@ -1,4 +1,7 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env nix-shell
|
||||||
|
#!nix-shell -i bash -p coreutils-full
|
||||||
|
#^ requires `sudo` and `mount` to be installed system-wide (suid)
|
||||||
|
#
|
||||||
set -ex
|
set -ex
|
||||||
|
|
||||||
# if lan not mounted, then try to mount it
|
# if lan not mounted, then try to mount it
|
||||||
|
|
Loading…
Reference in New Issue
Block a user