diff options
author | Franck Cuny <franck@fcuny.net> | 2023-12-03 19:42:00 -0800 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2023-12-03 19:42:00 -0800 |
commit | 7981241a013b88f69e6eb692c09a382d7b5417e3 (patch) | |
tree | 0a62780dc9b2b6560a5c4c08fda8ab0aff92bd8d | |
parent | flake.lock: Update (diff) | |
download | world-7981241a013b88f69e6eb692c09a382d7b5417e3.tar.gz |
formatting a few files with treefmt
-rw-r--r-- | configs/ssh-pubkeys.toml | 16 | ||||
-rw-r--r-- | configs/wireguard.toml | 2 | ||||
-rw-r--r-- | templates/rust/deny.toml | 4 | ||||
-rw-r--r-- | templates/rust/rust-toolchain.toml | 2 | ||||
-rwxr-xr-x | tools/perf-flamegraph-pid/perf-flamegraph-pid.sh | 6 |
5 files changed, 14 insertions, 16 deletions
diff --git a/configs/ssh-pubkeys.toml b/configs/ssh-pubkeys.toml index 6068e38..d14462a 100644 --- a/configs/ssh-pubkeys.toml +++ b/configs/ssh-pubkeys.toml @@ -1,16 +1,16 @@ # this used to be the main key for my laptop -aptos="ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIdlm/qoR/dnMjZhVSTtqFzkgN3Yf9eQ3pgKMiipg+dl" +aptos = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIdlm/qoR/dnMjZhVSTtqFzkgN3Yf9eQ3pgKMiipg+dl" # this used to be the key I used to sign commits -git="ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIItMKXWzH00xS7kYJzDCIr/PM9DaZw+imK/byjrY5WNv" +git = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIItMKXWzH00xS7kYJzDCIr/PM9DaZw+imK/byjrY5WNv" # this is the key from work -work="ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINSWhXmnUplM+xltD0sYiJ6AsjkwHvbjTYLA7GHXHja9" +work = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINSWhXmnUplM+xltD0sYiJ6AsjkwHvbjTYLA7GHXHja9" -ykey-laptop="sk-ssh-ed25519@openssh.com AAAAGnNrLXNzaC1lZDI1NTE5QG9wZW5zc2guY29tAAAAIGX4+CuUjiX6Doi4n6RqmznzFUyRrxKhEFvuIxROzXDKAAAABHNzaDo=" -ykey-keyring="sk-ssh-ed25519@openssh.com AAAAGnNrLXNzaC1lZDI1NTE5QG9wZW5zc2guY29tAAAAIDnU4Xd8bElZYVWDbknlIgskR/q7ORrbvO0FLnJMQX+eAAAABHNzaDo=" -ykey-backup="sk-ssh-ed25519@openssh.com AAAAGnNrLXNzaC1lZDI1NTE5QG9wZW5zc2guY29tAAAAINEGiZpKcXQtB7P7k5puV5OAeMlnB7qRLm+HRI5/OKTbAAAABHNzaDo=" +ykey-laptop = "sk-ssh-ed25519@openssh.com AAAAGnNrLXNzaC1lZDI1NTE5QG9wZW5zc2guY29tAAAAIGX4+CuUjiX6Doi4n6RqmznzFUyRrxKhEFvuIxROzXDKAAAABHNzaDo=" +ykey-keyring = "sk-ssh-ed25519@openssh.com AAAAGnNrLXNzaC1lZDI1NTE5QG9wZW5zc2guY29tAAAAIDnU4Xd8bElZYVWDbknlIgskR/q7ORrbvO0FLnJMQX+eAAAABHNzaDo=" +ykey-backup = "sk-ssh-ed25519@openssh.com AAAAGnNrLXNzaC1lZDI1NTE5QG9wZW5zc2guY29tAAAAINEGiZpKcXQtB7P7k5puV5OAeMlnB7qRLm+HRI5/OKTbAAAABHNzaDo=" # this key is used to perform backups -restic="ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIB/0b3IjqeCHQ+b4qZoptrmG/twV4Zj4BIH1yl7Y5cW9" +restic = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIB/0b3IjqeCHQ+b4qZoptrmG/twV4Zj4BIH1yl7Y5cW9" # 1password -op="ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIF9r1KALhtItqMjxHQS0/5eWJm4UF/i38QATZIi1Pqm2" +op = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIF9r1KALhtItqMjxHQS0/5eWJm4UF/i38QATZIi1Pqm2" diff --git a/configs/wireguard.toml b/configs/wireguard.toml index f1ed81e..7a9fc6a 100644 --- a/configs/wireguard.toml +++ b/configs/wireguard.toml @@ -6,7 +6,7 @@ ipv4 = 110 key = "DP3caAlh07OOU61u2L2QfEhakt/mVEGrMBVONNvpNhU=" [peers.carmel] -ipv4= 1 +ipv4 = 1 key = "ifqsPWcc8nxwgpxRHmP6OUtvVYNQJj/CW8QIuxWqXGU=" externalIp = "192.168.0.1" diff --git a/templates/rust/deny.toml b/templates/rust/deny.toml index fd95cdb..acefd37 100644 --- a/templates/rust/deny.toml +++ b/templates/rust/deny.toml @@ -24,9 +24,7 @@ registries = [] [[licenses.clarify]] name = "ring" expression = "MIT AND ISC AND OpenSSL" -license-files = [ - { path = "LICENSE", hash = 0xbd0eed23 } -] +license-files = [{ path = "LICENSE", hash = 0xbd0eed23 }] [bans] multiple-versions = "warn" diff --git a/templates/rust/rust-toolchain.toml b/templates/rust/rust-toolchain.toml index e7ae097..cc8f987 100644 --- a/templates/rust/rust-toolchain.toml +++ b/templates/rust/rust-toolchain.toml @@ -1,3 +1,3 @@ [toolchain] channel = "1.64.0" -components = [ "rustfmt", "clippy" ] +components = ["rustfmt", "clippy"] diff --git a/tools/perf-flamegraph-pid/perf-flamegraph-pid.sh b/tools/perf-flamegraph-pid/perf-flamegraph-pid.sh index 141ceec..2ca3d16 100755 --- a/tools/perf-flamegraph-pid/perf-flamegraph-pid.sh +++ b/tools/perf-flamegraph-pid/perf-flamegraph-pid.sh @@ -15,6 +15,6 @@ sudo perf record -g --call-graph dwarf --freq max --output "${OUT_DATA}" "$@" # give me ownership of the file sudo chown "${USER}" "${OUT_DATA}" -perf script --input "${OUT_DATA}" | \ - stackcollapse-perf.pl | \ - flamegraph.pl > "${OUT_SVG}" +perf script --input "${OUT_DATA}" | + stackcollapse-perf.pl | + flamegraph.pl >"${OUT_SVG}" |