finish nomad, add consul, sops

This commit is contained in:
2023-11-19 21:27:39 +00:00
parent b264847436
commit ef9d46a1c4

View File

@@ -10,23 +10,23 @@
./nomad.nix ./nomad.nix
./odroid-m1-setleds.nix ./odroid-m1-setleds.nix
./odroid-m1.nix ./odroid-m1.nix
#inputs.sops-nix.nixosModules.sops inputs.sops-nix.nixosModules.sops
]; ];
###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"];
# }; };
# Enable nix flakes # Enable nix flakes
nix.package = pkgs.nixFlakes; nix.package = pkgs.nixFlakes;
@@ -46,5 +46,5 @@ nix.nixPath = [ "nixpkgs=${inputs.nixpkgs}" ];
}; };
users.extraUsers.root.initialPassword = lib.mkForce "odroid"; users.extraUsers.root.initialPassword = lib.mkForce "odroid";
} }
# ; ;
# } }