mirror of
https://github.com/sstent/nixos-cluster.git
synced 2026-02-14 11:22:51 +00:00
finish nomad, add consul, sops
This commit is contained in:
@@ -14,19 +14,19 @@
|
|||||||
];
|
];
|
||||||
|
|
||||||
###secretstore path variable
|
###secretstore path variable
|
||||||
options._secretstore = lib.mkOption {
|
# options._secretstore = lib.mkOption {
|
||||||
type = lib.types.str;
|
# type = lib.types.str;
|
||||||
default = "${inputs.self}/secrets";
|
# default = "${inputs.self}/secrets";
|
||||||
description = "Path to the Secrets storage";
|
# description = "Path to the Secrets storage";
|
||||||
};
|
# };
|
||||||
|
|
||||||
config = {
|
config = {
|
||||||
system.stateVersion = "23.11"; # Did you read the comment?
|
system.stateVersion = "23.11"; # Did you read the comment?
|
||||||
|
|
||||||
sops = {
|
# sops = {
|
||||||
defaultSopsFile = "${config._secretstore}/host-secrets.yaml";
|
# defaultSopsFile = "${config._secretstore}/host-secrets.yaml";
|
||||||
age.sshKeyPaths = ["/etc/ssh/ssh_host_ed25519_key"];
|
# age.sshKeyPaths = ["/etc/ssh/ssh_host_ed25519_key"];
|
||||||
};
|
# };
|
||||||
|
|
||||||
environment.systemPackages = [
|
environment.systemPackages = [
|
||||||
pkgs.git
|
pkgs.git
|
||||||
|
|||||||
Reference in New Issue
Block a user