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 ];