finish nomad, add consul, sops

This commit is contained in:
2023-11-19 21:23:26 +00:00
parent dc7b0e018e
commit 284102cb9b

View File

@@ -14,19 +14,19 @@
];
###secretstore path variable
options._secretstore = lib.mkOption {
type = lib.types.str;
default = "${inputs.self}/secrets";
description = "Path to the Secrets storage";
};
# options._secretstore = lib.mkOption {
# type = lib.types.str;
# default = "${inputs.self}/secrets";
# description = "Path to the Secrets storage";
# };
config = {
system.stateVersion = "23.11"; # Did you read the comment?
sops = {
defaultSopsFile = "${config._secretstore}/host-secrets.yaml";
age.sshKeyPaths = ["/etc/ssh/ssh_host_ed25519_key"];
};
# sops = {
# defaultSopsFile = "${config._secretstore}/host-secrets.yaml";
# age.sshKeyPaths = ["/etc/ssh/ssh_host_ed25519_key"];
# };
environment.systemPackages = [
pkgs.git