refactor: replace ps
with unixtools.ps
, which is just nixpkgs upstream logic that does exactly what i was doing to extract it from procps
This commit is contained in:
@@ -97,7 +97,6 @@ in
|
||||
"picocom" # serial TTY
|
||||
"powertop"
|
||||
"procs" # a better `ps`
|
||||
"ps"
|
||||
"pstree"
|
||||
"ripgrep"
|
||||
"rsync"
|
||||
@@ -109,6 +108,7 @@ in
|
||||
"subversion"
|
||||
"tcpdump"
|
||||
"tree"
|
||||
"unixtools.ps"
|
||||
"unixtools.xxd"
|
||||
"usbutils" # lsusb
|
||||
"util-linux" # lsblk, lscpu, etc
|
||||
@@ -1159,6 +1159,8 @@ in
|
||||
|
||||
util-linux.sandbox.method = null; #< TODO: possible to sandbox if i specify a different profile for each of its ~50 binaries
|
||||
|
||||
"unixtools.ps".sandbox.keepPidsAndProc = true;
|
||||
|
||||
unzip.sandbox.autodetectCliPaths = "existingOrParent";
|
||||
unzip.sandbox.whitelistPwd = true;
|
||||
|
||||
|
@@ -144,7 +144,6 @@
|
||||
./planify.nix
|
||||
./portfolio-filemanager.nix
|
||||
./playerctl.nix
|
||||
./ps.nix
|
||||
./qmk-udev-rules.nix
|
||||
./rhythmbox.nix
|
||||
./ripgrep.nix
|
||||
|
@@ -1,7 +0,0 @@
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
sane.programs.ps = {
|
||||
packageUnwrapped = pkgs.linkBinIntoOwnPackage pkgs.procps "ps";
|
||||
sandbox.keepPidsAndProc = true;
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user