Move nvim config

This commit is contained in:
Martin Pander
2026-02-11 08:03:13 +01:00
parent 9b0b1f76f9
commit 38083b9af4
31 changed files with 105 additions and 27 deletions

20
modules/home/secrets.nix Normal file
View File

@@ -0,0 +1,20 @@
{ inputs, config, ... }:
{
imports = [
inputs.sops-nix.homeManagerModules.sops
];
sops = {
defaultSopsFile = ../../secrets/secrets.yaml;
defaultSopsFormat = "yaml";
age = {
keyFile = "${config.home.homeDirectory}/.config/sops/age/keys.txt";
};
};
home.sessionVariables = {
SOPS_AGE_KEY_FILE = config.sops.age.keyFile;
};
}