feat(kirill): Wallpaper_changer rewrite to new keys
This commit is contained in:
1 parent
9d9c429033
commit
b3913c9c9b
1 file changed
+2
-5
@@ -1,9 +1,6 @@
|
|||||||
{ pkgs, lib, config, inputs, host, osConfig, ... }:
|
{ pkgs, lib, config, inputs, host, ... }:
|
||||||
let
|
let
|
||||||
secretPath =
|
secretPath = config.sops.secrets."tokens/apis/wallhaven".path;
|
||||||
if osConfig ? sops.secrets.wallhaven
|
|
||||||
then osConfig.sops.secrets.wallhaven.path
|
|
||||||
else "";
|
|
||||||
|
|
||||||
wallpaper_changer = pkgs.writers.writePython3Bin "wallpaper_changer" {
|
wallpaper_changer = pkgs.writers.writePython3Bin "wallpaper_changer" {
|
||||||
libraries = [ pkgs.python3Packages.requests ];
|
libraries = [ pkgs.python3Packages.requests ];
|
||||||
|
|||||||
Reference in new issue
Block a user