alpha
Login
or
Join now
lass.pds.lassul.us
/
superconfig
Star
0
Fork
1
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
This repository has no description
Star
0
Fork
1
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
1
Pipelines
tpm2: nix fmt
author
lassulus
date
10 months ago
(Nov 27, 2025, 8:32 AM CET)
commit
321fc735
321fc735e4bbd522d76d2608c1654717f150941d
parent
ac62d5ba
ac62d5baccbdb5cf8b5e785ebe5d3119acc3ddcf
+7
-7
1 changed file
Expand all
Collapse all
Unified
Split
2configs
tpm2.nix
+7
-7
2configs/tpm2.nix
View file
Reviewed
···
1
1
{ pkgs, lib, ... }:
2
2
let
3
3
pinentry-askpass = pkgs.writeShellScriptBin "pinentry-askpass" ''
4
4
-
result=$(cat <<EOF | ${pkgs.pinentry-gtk2}/bin/pinentry
5
5
-
SETDESC $1
6
6
-
SETPROMPT Passphrase:
7
7
-
GETPIN
8
8
-
EOF
9
9
-
)
10
10
-
echo "$result" | grep '^D ' | cut -d' ' -f2-
4
4
+
result=$(cat <<EOF | ${pkgs.pinentry-gtk2}/bin/pinentry
5
5
+
SETDESC $1
6
6
+
SETPROMPT Passphrase:
7
7
+
GETPIN
8
8
+
EOF
9
9
+
)
10
10
+
echo "$result" | grep '^D ' | cut -d' ' -f2-
11
11
'';
12
12
in
13
13
{