programs: add sops
This commit is contained in:
parent
ac51db1c7e
commit
fcf4fc3064
10 changed files with 151 additions and 29 deletions
10
nix/programs/individual_configs/ssh.nix
Normal file
10
nix/programs/individual_configs/ssh.nix
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
{ config, ... }: {
|
||||
home.file.".ssh/config".text = ''
|
||||
Host github.com
|
||||
IdentityFile ${config.sops.secrets.hub.path}
|
||||
Host gitlab.com
|
||||
IdentityFile ${config.sops.secrets.lab.path}
|
||||
Host dashie.org
|
||||
IdentityFile ${config.sops.secrets.dashie.path}
|
||||
'';
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue