sops updates

This commit is contained in:
John Lancaster
2026-03-24 22:51:59 -05:00
parent 33ccad5bf6
commit eac053ca07
3 changed files with 12 additions and 17 deletions
@@ -2,8 +2,8 @@
let
username = "john";
hostname = "john-pc-ubuntu";
# testTarget = "fded:fb16:653e:25da:be24:11ff:fea0:753f";
testTarget = "fded:fb16:653e:25da:be24:11ff:fe89:1cc3";
# testTarget = "fded:fb16:653e:25da:be24:11ff:fea0:753f"; # test-nix
testTarget = "fded:fb16:653e:25da:be24:11ff:fe89:1cc3"; # soteria
in
{
flake.modules.homeManager."${hostname}" = { pkgs, config, ... }:
@@ -65,8 +65,8 @@ in
};
};
mysops.hostSecretFile = "${config.xdg.configHome}/home-manager/jsl-dendritic/secrets.yaml";
sops.defaultSopsFile = "${config.xdg.configHome}/home-manager/jsl-dendritic/secrets.yaml";
# This provides the keys at build time and will be included in the nix store
sops.defaultSopsFile = ../../../keys/secrets.yaml;
sops.secrets."restic_password/john_ubuntu" = {
path = resticPasswordFile;
+2 -6
View File
@@ -50,13 +50,9 @@ in
shell.program = "zsh";
docker.enable = true;
# sops.secrets."janus/admin_password" = {
# path = "${config.home.homeDirectory}/.janus";
# mode = "0400";
# sopsFile = ./secrets.yaml;
# };
# This will provide the edit-secrets script targeting this file
mysops.hostSecretFile = "${config.xdg.configHome}/home-manager/modules/hosts/soteria/secrets.yaml";
mtls = {
enable = true;
subject = hostname;