add ssh config to sops encrypt file secrets/ssh-config.yaml
This commit is contained in:
parent
4e7219de8d
commit
d9b33554b9
3 changed files with 33 additions and 2 deletions
|
|
@ -96,6 +96,7 @@
|
|||
};
|
||||
};
|
||||
};
|
||||
includes = [ config.sops.secrets.ssh-config.path ];
|
||||
};
|
||||
programs.chromium = {
|
||||
enable = true;
|
||||
|
|
@ -117,6 +118,12 @@
|
|||
path = "${config.home.homeDirectory}/.ssh/id_ed25519";
|
||||
};
|
||||
|
||||
sops.secrets."ssh-config" = {
|
||||
mode = "0400";
|
||||
format = "yaml";
|
||||
sopsFile = rootPath + "/secrets/ssh-config.yaml";
|
||||
};
|
||||
|
||||
sops.gnupg = {
|
||||
home = "${config.home.homeDirectory}/.gnupg";
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue