From b3913c9c9b3b8bef8f8df01b9df1cdcb81d91a4b Mon Sep 17 00:00:00 2001 From: Kirill Date: Sat, 17 Oct 2026 17:19:44 +0300 Subject: [PATCH] feat(kirill): Wallpaper_changer rewrite to new keys --- user/kirill/modules/hyprland.nix | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/user/kirill/modules/hyprland.nix b/user/kirill/modules/hyprland.nix index d16c657..72708a7 100644 --- a/user/kirill/modules/hyprland.nix +++ b/user/kirill/modules/hyprland.nix @@ -1,9 +1,6 @@ -{ pkgs, lib, config, inputs, host, osConfig, ... }: +{ pkgs, lib, config, inputs, host, ... }: let - secretPath = - if osConfig ? sops.secrets.wallhaven - then osConfig.sops.secrets.wallhaven.path - else ""; + secretPath = config.sops.secrets."tokens/apis/wallhaven".path; wallpaper_changer = pkgs.writers.writePython3Bin "wallpaper_changer" { libraries = [ pkgs.python3Packages.requests ];