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:
Claude committed 2026-10-11 12:39:07 +00:00
1 parent 0ce9943d56
commit f3660d3505
30 files changed
+2619

No files matched your search

+27
View File
@@ -0,0 +1,27 @@
# Encrypts a file as secrets/<name>.age for the recipients in secrets/secrets.nix.
# `nix` (to read secrets.nix) is taken from the system PATH.
{
lib,
writeShellApplication,
coreutils,
diffutils,
git,
jq,
age,
}:
writeShellApplication {
name = "secret-from-file";
runtimeInputs = [
coreutils
diffutils
git
jq
age
];
text = builtins.readFile ./secret-from-file.sh;
meta = {
description = "Encrypt an existing file as secrets/<name>.age using the agenix recipient rules";
mainProgram = "secret-from-file";
platforms = lib.platforms.linux;
};
}