setup agenix

This commit is contained in:
2026-07-26 14:09:18 +02:00
parent 72fae98a43
commit ba4f2b5bf2
7 changed files with 99 additions and 3 deletions
+1 -1
View File
@@ -132,7 +132,7 @@
home.homeDirectory = "/home/tomasr";
home.sessionVariables = {
EDITOR = "neovim";
EDITOR = "nvim";
TERMINAL = "kitty";
};
+3 -1
View File
@@ -9,6 +9,8 @@
inherit (self) pkgs-unstable pkgs-local pkgs-master;
};
modules = with self.nixosModules; [
inputs.agenix.nixosModules.default
agenix
# important do not remove
home-manager-laptop
laptop
@@ -129,7 +131,7 @@
home.homeDirectory = "/home/tomasr";
home.sessionVariables = {
EDITOR = "neovim";
EDITOR = "nvim";
TERMINAL = "kitty";
};
+13
View File
@@ -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;
};
};
}