sops updates
This commit is contained in:
@@ -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;
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user