aboutsummaryrefslogtreecommitdiffstats
path: root/home
diff options
context:
space:
mode:
Diffstat (limited to 'home')
-rw-r--r--home/default.nix1
-rw-r--r--home/wallpapers/default.nix4
2 files changed, 1 insertions, 4 deletions
diff --git a/home/default.nix b/home/default.nix
index 85f511c..a232d81 100644
--- a/home/default.nix
+++ b/home/default.nix
@@ -359,6 +359,7 @@
VISUAL = "${pkgs.neovim}/bin/nvim";
OPENAI_API_KEY = "$(${pkgs.coreutils}/bin/cat ${config.age.secrets.openai_auth_token.path})";
SHIORI_PASSWORD = "$(${pkgs.coreutils}/bin/cat ${config.age.secrets.shiori_password.path})";
+ UNSPLASH_ACCESS_KEY = "$(${pkgs.coreutils}/bin/cat ${config.age.secrets.unsplash_access_key.path})";
};
pointerCursor = {
diff --git a/home/wallpapers/default.nix b/home/wallpapers/default.nix
index 458f711..c981d8e 100644
--- a/home/wallpapers/default.nix
+++ b/home/wallpapers/default.nix
@@ -60,11 +60,7 @@ in
Description = "Fetch and update 4K nature wallpaper for Hyprpaper";
After = [ "graphical-session.target" ];
};
-
Service = {
- Environment = [
- "UNSPLASH_ACCESS_KEY=$(${pkgs.coreutils}/bin/cat ${config.age.secrets.unsplash_access_key.path})"
- ];
Type = "oneshot";
ExecStart = "${wallpaperScript}";
};