From 217e0a60af1340423e1248320f2d05c11fc8a331 Mon Sep 17 00:00:00 2001 From: Freya Murphy Date: Sat, 30 May 2026 13:30:51 -0400 Subject: make image files path type --- home/apps/caelestia/settings.nix | 1 - home/apps/hyprlock.nix | 2 +- options.nix | 12 ++++++------ 3 files changed, 7 insertions(+), 8 deletions(-) diff --git a/home/apps/caelestia/settings.nix b/home/apps/caelestia/settings.nix index bfe102f..e0df66e 100644 --- a/home/apps/caelestia/settings.nix +++ b/home/apps/caelestia/settings.nix @@ -200,7 +200,6 @@ in { kbLayoutChanged = true; numLockChanged = true; }; - }; }; }; diff --git a/home/apps/hyprlock.nix b/home/apps/hyprlock.nix index 85c70d3..8d19798 100644 --- a/home/apps/hyprlock.nix +++ b/home/apps/hyprlock.nix @@ -33,7 +33,7 @@ in { }; background = { - path = config.theme.lockscreen; + path = toString config.theme.lockscreen; blur_passes = 2; contrast = 0.9; brightness = 0.8; diff --git a/options.nix b/options.nix index 1a5a40c..66c0436 100644 --- a/options.nix +++ b/options.nix @@ -414,21 +414,21 @@ in { }; wallpaper = mkOption { - type = types.str; + type = types.path; description = "Path to wallpaper image"; - default = toString ./files/wallpapers/moran.jpg; + default = ./files/wallpapers/moran.jpg; }; lockscreen = mkOption { - type = types.str; + type = types.path; description = "Path to lockscreen image"; - default = toString ./files/wallpapers/moran.jpg; + default = ./files/wallpapers/moran.jpg; }; avatar = mkOption { - type = types.str; + type = types.path; description = "Path to avatar image"; - default = toString ./files/pfps/mioShun.jpg; + default = ./files/pfps/freya.png; }; }; -- cgit v1.3.1-freya