mirror of
https://github.com/genebean/dots.git
synced 2026-03-28 01:47:42 -04:00
Prep for reinstall
Bits that require SOPS to be working have been pulled out into other files. Once the install is complete, these will be included in the base config.
This commit is contained in:
parent
660bba6aea
commit
a8e3b109ed
4 changed files with 87 additions and 79 deletions
20
modules/hosts/nixos/hetznix01/sops.nix
Normal file
20
modules/hosts/nixos/hetznix01/sops.nix
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
{ username, ... }: {
|
||||
sops = {
|
||||
age.keyFile = /home/${username}/.config/sops/age/keys.txt;
|
||||
defaultSopsFile = ./secrets.yaml;
|
||||
secrets = {
|
||||
local_git_config = {
|
||||
owner = "${username}";
|
||||
path = "/home/${username}/.gitconfig-local";
|
||||
};
|
||||
local_private_env = {
|
||||
owner = "${username}";
|
||||
path = "/home/${username}/.private-env";
|
||||
};
|
||||
tailscale_key = {
|
||||
restartUnits = [ "tailscaled-autoconnect.service" ];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue