mirror of
https://github.com/genebean/dots.git
synced 2026-03-27 09:27:44 -04:00
Replace absolute path /home
In 24.11 this is no longer allowed but is easy to grab from config
This commit is contained in:
parent
deae6df6f6
commit
bae990279c
8 changed files with 25 additions and 25 deletions
|
|
@ -1,15 +1,15 @@
|
|||
{ username, ... }: {
|
||||
{ config, username, ... }: {
|
||||
sops = {
|
||||
age.keyFile = /home/${username}/.config/sops/age/keys.txt;
|
||||
age.keyFile = "${config.users.users.${username}.home}/.config/sops/age/keys.txt";
|
||||
defaultSopsFile = ../secrets.yaml;
|
||||
secrets = {
|
||||
local_git_config = {
|
||||
owner = "${username}";
|
||||
path = "/home/${username}/.gitconfig-local";
|
||||
path = "${config.users.users.${username}.home}/.gitconfig-local";
|
||||
};
|
||||
local_private_env = {
|
||||
owner = "${username}";
|
||||
path = "/home/${username}/.private-env";
|
||||
path = "${config.users.users.${username}.home}/.private-env";
|
||||
};
|
||||
tailscale_key = {
|
||||
restartUnits = [ "tailscaled-autoconnect.service" ];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue