Former-commit-id: 1ed7675095
This commit is contained in:
Hadi
2024-06-26 14:44:08 +00:00
parent 5f73e46e73
commit d98468a34d
23 changed files with 115 additions and 71 deletions

View File

@@ -0,0 +1,18 @@
{ pkgs, inputs, ... }: {
imports = [ inputs.sops-nix.homeManagerModules.sops ];
home.packages = with pkgs; [ sops age ];
sops = {
age.keyFile = "/home/hadi/.config/sops/age/keys.txt";
defaultSopsFile = ./laptop.yaml;
secrets = {
sshconfig = { path = "/home/hadi/.ssh/config"; };
github-key = { path = "/home/hadi/.ssh/github"; };
gitlab-key = { path = "/home/hadi/.ssh/gitlab"; };
jack-key = { path = "/home/hadi/.ssh/jack"; };
};
};
systemd.user.services.mbsync.Unit.After = [ "sops-nix.service" ];
}