sane-wipe: fix so pkill is available
This commit is contained in:
@@ -110,6 +110,7 @@
|
||||
./pactl.nix
|
||||
./pidof.nix
|
||||
./pipewire.nix
|
||||
./pkill.nix
|
||||
./planify.nix
|
||||
./portfolio-filemanager.nix
|
||||
./playerctl.nix
|
||||
|
8
hosts/common/programs/pkill.nix
Normal file
8
hosts/common/programs/pkill.nix
Normal file
@@ -0,0 +1,8 @@
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
sane.programs.pkill = {
|
||||
packageUnwrapped = pkgs.linkIntoOwnPackage pkgs.procps "bin/pkill";
|
||||
sandbox.method = "bwrap";
|
||||
sandbox.isolatePids = false;
|
||||
};
|
||||
}
|
@@ -83,7 +83,7 @@ in
|
||||
"jq"
|
||||
"killall"
|
||||
"playerctl"
|
||||
"procps"
|
||||
"procps" #< TODO: reduce to just those parts of procps which are really needed
|
||||
"sane-open"
|
||||
# "sway" #< TODO: circular dependency :-(
|
||||
"wireplumber"
|
||||
|
@@ -279,5 +279,6 @@ in
|
||||
".persist/private/.mozilla"
|
||||
];
|
||||
};
|
||||
"sane-scripts.wipe".suggestedPrograms = [ "pkill" ];
|
||||
};
|
||||
}
|
||||
|
@@ -1,5 +1,5 @@
|
||||
#!/usr/bin/env nix-shell
|
||||
#!nix-shell -i bash -p bash -p dconf -p libsecret -p s6-rc
|
||||
#!nix-shell -i bash -p bash -p dconf -p libsecret -p procps -p s6-rc
|
||||
|
||||
help() {
|
||||
echo "usage: sane-wipe <resource>"
|
||||
|
Reference in New Issue
Block a user