mirror of
https://github.com/tomasriveral/nixos.git
synced 2026-10-11 01:12:43 +02:00
setup agenix
This commit is contained in:
1 parent
72fae98a43
commit
ba4f2b5bf2
7 files changed
+99
-3
No files matched your search
@@ -0,0 +1,13 @@
|
||||
{inputs, ...}: {
|
||||
flake.nixosModules.agenix = {pkgs, ...}: {
|
||||
environment.systemPackages = [
|
||||
inputs.agenix.packages.${pkgs.system}.default
|
||||
];
|
||||
age.identityPaths = [
|
||||
"/home/tomasr/.ssh/id_ed25519"
|
||||
];
|
||||
age.secrets.my-secret = {
|
||||
file = ../../secrets/my-secret.age;
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user