test
This commit is contained in:
@@ -1,16 +1,15 @@
|
||||
{ sops-nix, ... }: {
|
||||
{ pkgs, sops-nix, ... }: {
|
||||
imports = [ sops-nix.homeManagerModules.sops ];
|
||||
|
||||
home.packages = with pkgs; [ sops age ];
|
||||
|
||||
sops = {
|
||||
age.keyFile = "/home/hadi/.config/sops/age/keys.txt";
|
||||
defaultSopsFile = ../../../secrets/secrets.yaml;
|
||||
defaultSopsFile = ../../../secrets/laptop.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"; };
|
||||
github-key = { path = "/home/hadi/.ssh/github"; };
|
||||
gitlab-key = { path = "/home/hadi/.ssh/gitlab"; };
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
@@ -1,14 +0,0 @@
|
||||
{ sops-nix, ... }: {
|
||||
imports = [ sops-nix.homeManagerModules.sops ];
|
||||
|
||||
sops = {
|
||||
age.keyFile = "/home/hadi/.config/sops/age/keys.txt";
|
||||
defaultSopsFile = ../../../secrets/secrets.yaml;
|
||||
secrets = {
|
||||
gts = { path = "/home/hadi/.ssh/github"; };
|
||||
sshconfigheaven = { path = "/home/hadi/.ssh/config"; };
|
||||
};
|
||||
};
|
||||
|
||||
systemd.user.services.mbsync.Unit.After = [ "sops-nix.service" ];
|
||||
}
|
||||
Reference in New Issue
Block a user