✨ Wildcard encrypt files in secrets dir, util function to load
secrets, use apu-key in weather widget
This commit is contained in:
6
home-manager/secretsLoader.nix
Normal file
6
home-manager/secretsLoader.nix
Normal file
@ -0,0 +1,6 @@
|
||||
lib:
|
||||
|
||||
{
|
||||
loadSecret =
|
||||
filePath: lib.strings.trim (lib.strings.removeSuffix "\n" (builtins.readFile filePath));
|
||||
}
|
Reference in New Issue
Block a user