fixed sops
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
inputs.self.homeModules."john-pc-ubuntu"
|
||||
|
||||
# Include another inline module to set the options created through the jsl-home modules
|
||||
{
|
||||
({ config, ... }: {
|
||||
homeManagerFlakeDir = "~/.config/home-manager/jsl-dendritic";
|
||||
docker.enable = true;
|
||||
ssh.matchSets = {
|
||||
@@ -28,8 +28,28 @@
|
||||
homelab = true;
|
||||
};
|
||||
shell.program = "zsh";
|
||||
programs.resticprofile.enable = true;
|
||||
}
|
||||
sops.secrets."restic_password/john_ubuntu" = {
|
||||
path = "${config.xdg.configHome}/resticprofile/password.txt";
|
||||
};
|
||||
programs.resticprofile = {
|
||||
enable= true;
|
||||
profiles = {
|
||||
default = {
|
||||
"inherit" = "base";
|
||||
repository = "rest:https://soteria.john-stream.com/john-ubuntu";
|
||||
cacert = "${config.home.homeDirectory}/.step/certs/root_ca.crt";
|
||||
tls-client-cert = "${config.home.homeDirectory}/.step/certs/mtls.pem";
|
||||
backup = {
|
||||
source = [
|
||||
"${config.xdg.userDirs.documents}"
|
||||
"/conf"
|
||||
];
|
||||
schedule = "*-*-* *:15,30,45:00";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
})
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user