{ssh,home/ssh}: include secret configuration
This commit is contained in:
@@ -1,7 +1,15 @@
|
||||
{ config, ... }:
|
||||
{
|
||||
imports = [
|
||||
./home.nix
|
||||
./other.nix
|
||||
./pvv.nix
|
||||
];
|
||||
|
||||
sops.secrets."ssh/secret-config/home" = {
|
||||
sopsFile = ../../../secrets/common.yaml;
|
||||
mode = "0444";
|
||||
};
|
||||
|
||||
programs.ssh.includes = [ config.sops.secrets."ssh/secret-config/home".path ];
|
||||
}
|
||||
|
Reference in New Issue
Block a user