nixos/home/system/sops/laptop.nix
2024-06-07 21:21:03 +02:00

19 lines
608 B
Nix

{ sops-nix, ... }: {
imports = [ sops-nix.homeManagerModules.sops ];
sops = {
age.keyFile = "/home/hadi/.config/sops/age/keys.txt";
defaultSopsFile = ../../../secrets/secrets.yaml;
secrets = {
sshconfig = { path = "/home/hadi/.ssh/config"; };
oxk = { path = "/home/hadi/.ssh/oxserver"; };
gk = { path = "/home/hadi/.ssh/github"; };
glk = { path = "/home/hadi/.ssh/gitlab"; };
silicon = { path = "/home/hadi/.ssh/silicon"; };
heaven = { path = "/home/hadi/.ssh/heaven"; };
};
};
systemd.user.services.mbsync.Unit.After = [ "sops-nix.service" ];
}