mob next [ci-skip] [ci skip] [skip ci]

lastFile:machines/rigel/configuration.nix
This commit is contained in:
2025-10-10 13:34:56 +07:00
parent b8295bf82d
commit 88684b8a6b

View File

@@ -38,11 +38,14 @@
secret = true; secret = true;
}; };
}; };
runtimeInputs = [ pkgs.pwgen ]; runtimeInputs = [
pkgs.pwgen
pkgs.xkcdpass
];
script = '' script = ''
pwgen -s 32 1 > $out/secret-key pwgen -s 32 1 > $out/secret-key
pwgen -s 32 1 > $out/oidc-key pwgen -s 32 1 > $out/oidc-key
pwgen -s 32 1 > $out/admin-password xkcdpass --numwords 4 --delimiter - --count 1 | tr -d "\n" > "$out"/admin-password
''; '';
}; };