1
1
Fork 1
mirror of https://github.com/oddlama/nix-config.git synced 2025-10-11 07:10:39 +02:00

feat: use flake-parts for agenix-rekey

This commit is contained in:
oddlama 2024-05-29 15:19:10 +02:00
parent 78f79917f1
commit 6fd64972fa
No known key found for this signature in database
GPG key ID: 14EFE510775FE39A
4 changed files with 40 additions and 33 deletions

View file

@ -1,4 +1,9 @@
{
{inputs, ...}: {
imports = [
inputs.devshell.flakeModule
inputs.pre-commit-hooks.flakeModule
];
perSystem = {
config,
pkgs,
@ -27,10 +32,6 @@
package = pkgs.deploy;
help = "Build and deploy this nix config to nodes";
}
{
package = pkgs.agenix-rekey;
help = "Edit and rekey secrets";
}
{
package = pkgs.alejandra;
help = "Format nix code";
@ -43,10 +44,6 @@
package = pkgs.deadnix;
help = "Find unused expressions in nix code";
}
{
package = pkgs.update-nix-fetchgit;
help = "Update fetcher hashes inside nix files";
}
{
package = pkgs.nix-tree;
help = "Interactively browse dependency graphs of Nix derivations";