From 88684b8a6b9b8ab76fcff4a0d3de278e3a9a28c2 Mon Sep 17 00:00:00 2001 From: kurogeek Date: Fri, 10 Oct 2025 13:34:56 +0700 Subject: [PATCH] mob next [ci-skip] [ci skip] [skip ci] lastFile:machines/rigel/configuration.nix --- machines/rigel/configuration.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/machines/rigel/configuration.nix b/machines/rigel/configuration.nix index 5b39528..e9ce416 100644 --- a/machines/rigel/configuration.nix +++ b/machines/rigel/configuration.nix @@ -38,11 +38,14 @@ secret = true; }; }; - runtimeInputs = [ pkgs.pwgen ]; + runtimeInputs = [ + pkgs.pwgen + pkgs.xkcdpass + ]; script = '' pwgen -s 32 1 > $out/secret-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 ''; };