mirror of
https://github.com/lightly-toasted/nix-config.git
synced 2025-12-10 03:49:44 +00:00
fix(nixvim): relocate wakatime sops secret to prevent errors in hosts without sops
This commit is contained in:
parent
998f0faab6
commit
0e663c54f4
2 changed files with 4 additions and 4 deletions
|
|
@ -1,10 +1,6 @@
|
||||||
{ config, ... }:
|
{ config, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
sops.secrets."wakatime" = {
|
|
||||||
path = "${config.home.homeDirectory}/.wakatime.cfg";
|
|
||||||
};
|
|
||||||
|
|
||||||
programs.nixvim.plugins.wakatime = {
|
programs.nixvim.plugins.wakatime = {
|
||||||
enable = true;
|
enable = true;
|
||||||
autoLoad = true;
|
autoLoad = true;
|
||||||
|
|
|
||||||
|
|
@ -5,4 +5,8 @@
|
||||||
sops.defaultSopsFormat = "yaml";
|
sops.defaultSopsFormat = "yaml";
|
||||||
|
|
||||||
sops.age.keyFile = "${config.home.homeDirectory}/.config/sops/age/keys.txt";
|
sops.age.keyFile = "${config.home.homeDirectory}/.config/sops/age/keys.txt";
|
||||||
|
|
||||||
|
sops.secrets."wakatime" = {
|
||||||
|
path = "${config.home.homeDirectory}/.wakatime.cfg";
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue