sops: move secrets to relavent services

sh-initrd-on-root
Zynh Ludwig 2024-07-23 23:40:58 -07:00
parent c0a563278d
commit d69d821cd3
3 changed files with 26 additions and 15 deletions

View File

@ -67,5 +67,15 @@ in
}; };
}; };
}; };
sops.secrets =
let
home = config.home.homeDirectory;
in
{
"private_keys/personal_git" = {
path = "${home}/.ssh/personal_git";
};
};
}; };
} }

View File

@ -23,21 +23,6 @@ in
defaultSopsFile = ../../secrets.yaml; defaultSopsFile = ../../secrets.yaml;
validateSopsFiles = false; validateSopsFiles = false;
secrets = {
"private_keys/personal_git" = {
path = "${home}/.ssh/personal_git";
};
"private_keys/msiserver" = {
path = "${home}/.ssh/msiserver";
};
"private_keys/caveserver" = {
path = "${home}/.ssh/caveserver";
};
"ssh_hosts/caveserver" = {
path = "${home}/.ssh/conf.d/caveserver_config";
};
};
}; };
}; };
} }

View File

@ -38,5 +38,21 @@ in
}; };
}; };
}; };
sops.secrets =
let
home = config.home.homeDirectory;
in
{
"private_keys/msiserver" = {
path = "${home}/.ssh/msiserver";
};
"private_keys/caveserver" = {
path = "${home}/.ssh/caveserver";
};
"ssh_hosts/caveserver" = {
path = "${home}/.ssh/conf.d/caveserver_config";
};
};
}; };
} }