Compare commits
3 Commits
c3a05871bd
...
5c18873ddd
Author | SHA1 | Date | |
---|---|---|---|
5c18873ddd | |||
|
9bd70fc9ba | ||
|
95685a6743 |
@ -90,6 +90,7 @@ in {
|
||||
"tts.r"
|
||||
"flood.r"
|
||||
"warez.r"
|
||||
"bing-gpt.r"
|
||||
"navidrome.r"
|
||||
];
|
||||
tinc.pubkey = ''
|
||||
|
13
kartei/trust-gpg.sh
Executable file
13
kartei/trust-gpg.sh
Executable file
@ -0,0 +1,13 @@
|
||||
#!/usr/bin/env bash
|
||||
# usage: $0
|
||||
set -eu
|
||||
WD=$(dirname "$(realpath "$0")")
|
||||
PUBKEYS=
|
||||
for key in "$WD"/kmein/kmein.gpg "$WD"/lass/pgp/* "$WD"/makefu/pgp/* "$WD"/tv/pgp/*; do
|
||||
echo "$key" >&2
|
||||
keyid=$(gpg --with-colons --fingerprint --import-options show-only --import "$key" | grep fpr | cut -d : -f 10 | head -1)
|
||||
gpg --import "$key" >&2
|
||||
printf '5\ny\n' | gpg --command-fd 0 --expert --edit-key "$keyid" trust >&2
|
||||
PUBKEYS="${PUBKEYS}$keyid\n"
|
||||
done
|
||||
echo -ne "$PUBKEYS"
|
@ -39,10 +39,13 @@ let
|
||||
};
|
||||
|
||||
imp = {
|
||||
users.groups.konsens.gid = genid "konsens";
|
||||
users.users.konsens = rec {
|
||||
name = "konsens";
|
||||
group = "konsens";
|
||||
uid = genid name;
|
||||
home = "/var/lib/konsens";
|
||||
isSystemUser = true;
|
||||
createHome = true;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user