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,14 +1,14 @@
|
|||
{ pkgs, hostname, username, ... }: {
|
||||
{ config, pkgs, hostname, username, ... }: {
|
||||
home.packages = with pkgs; [
|
||||
home-manager
|
||||
];
|
||||
|
||||
sops = {
|
||||
age.keyFile = /home/${username}/.config/sops/age/keys.txt;
|
||||
age.keyFile = "${config.users.users.${username}.home}/.config/sops/age/keys.txt";
|
||||
defaultSopsFile = ../hosts/${hostname}/secrets.yaml;
|
||||
secrets = {
|
||||
local_git_config.path = "/home/${username}/.gitconfig-local";
|
||||
local_private_env.path = "/home/${username}/.private-env";
|
||||
local_git_config.path = "${config.users.users.${username}.home}/.gitconfig-local";
|
||||
local_private_env.path = "${config.users.users.${username}.home}/.private-env";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue