Update hardcoded xdg paths
Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
@@ -9,7 +9,8 @@
|
||||
}:
|
||||
let
|
||||
userConfig = config.users.users.${username};
|
||||
sopsKeyPath = ".config/sops-nix/key.txt";
|
||||
hmConfig = config.home-manager.users.${username};
|
||||
sopsKeyPath = "${hmConfig.xdg.relativeConfigHome}/sops-nix/key.txt";
|
||||
in
|
||||
{
|
||||
environment.persistence."/persist".users.${username}.files = [ sopsKeyPath ];
|
||||
|
Reference in New Issue
Block a user