mirror of
https://github.com/kmein/niveum
synced 2026-03-16 10:11:08 +01:00
feat: fix secrets permissions, move ./packages to flake outputs
This commit is contained in:
8
packages/default-gateway.nix
Normal file
8
packages/default-gateway.nix
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
writers,
|
||||
iproute2,
|
||||
jq,
|
||||
}:
|
||||
writers.writeDashBin "default-gateway" ''
|
||||
${iproute2}/bin/ip -json route | ${jq}/bin/jq --raw-output '.[0].gateway'
|
||||
''
|
||||
Reference in New Issue
Block a user