mirror of
https://github.com/kmein/niveum
synced 2026-03-19 03:21:10 +01:00
feat: fix secrets permissions, move ./packages to flake outputs
This commit is contained in:
11
packages/swallow.nix
Normal file
11
packages/swallow.nix
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
writers,
|
||||
xdo,
|
||||
}:
|
||||
# https://github.com/salman-abedin/devour/blob/master/devour.sh
|
||||
writers.writeDashBin "swallow" ''
|
||||
id=$(${xdo}/bin/xdo id)
|
||||
${xdo}/bin/xdo hide
|
||||
$("$@") > /dev/null 2>&1
|
||||
${xdo}/bin/xdo show "$id"
|
||||
''
|
||||
Reference in New Issue
Block a user