Rename module directories

This commit is contained in:
SebastianStork 2024-06-30 22:47:18 +02:00
parent 4c0ce1f479
commit 83638c33e2
36 changed files with 2 additions and 2 deletions

View file

@ -0,0 +1,19 @@
{
self,
inputs,
config,
lib,
...
}:
{
imports = [ inputs.sops-nix.homeManagerModules.sops ];
options.myConfig.sops.enable = lib.mkEnableOption "";
config = lib.mkIf config.myConfig.sops.enable {
sops = {
age.sshKeyPaths = [ "${config.home.homeDirectory}/.ssh/id_ed25519" ];
defaultSopsFile = "${self}/users/${config.home.username}/secrets.yaml";
};
};
}