mirror of
https://github.com/genebean/dots.git
synced 2026-03-27 09:27:44 -04:00
Add hetznix02 via nixos-anywhere
This commit is contained in:
parent
5cf6172925
commit
7e9f4d5adb
10 changed files with 280 additions and 36 deletions
20
modules/hosts/nixos/hetznix02/post-install/default.nix
Normal file
20
modules/hosts/nixos/hetznix02/post-install/default.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