WIP: home-manager modules and install tooling (in progress, unreviewed)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01J1cugeLkfFLZMpiztQ8TyN
This commit is contained in:
30 files changed
+2619
No files matched your search
@@ -0,0 +1,20 @@
|
||||
# Hashes a login password (yescrypt) and stores it via secret-from-file.
|
||||
{
|
||||
lib,
|
||||
writeShellApplication,
|
||||
mkpasswd,
|
||||
secret-from-file,
|
||||
}:
|
||||
writeShellApplication {
|
||||
name = "set-password";
|
||||
runtimeInputs = [
|
||||
mkpasswd
|
||||
secret-from-file
|
||||
];
|
||||
text = builtins.readFile ./set-password.sh;
|
||||
meta = {
|
||||
description = "Set the login password of a user as an agenix secret (secrets/<user>-password.age)";
|
||||
mainProgram = "set-password";
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user