diff options
| author | Freya Murphy <freya@freyacat.org> | 2026-05-30 13:30:51 -0400 |
|---|---|---|
| committer | Freya Murphy <freya@freyacat.org> | 2026-05-30 13:30:51 -0400 |
| commit | 217e0a60af1340423e1248320f2d05c11fc8a331 (patch) | |
| tree | fdf0c33253fff6be3f052d36f4940e85426de23a | |
| parent | update shell (diff) | |
| download | dotfiles-nix-217e0a60af1340423e1248320f2d05c11fc8a331.tar.gz dotfiles-nix-217e0a60af1340423e1248320f2d05c11fc8a331.tar.bz2 dotfiles-nix-217e0a60af1340423e1248320f2d05c11fc8a331.zip | |
make image files path type
| -rw-r--r-- | home/apps/caelestia/settings.nix | 1 | ||||
| -rw-r--r-- | home/apps/hyprlock.nix | 2 | ||||
| -rw-r--r-- | 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; }; }; |