homepage fixes and flake up

This commit is contained in:
2025-08-25 17:44:14 +02:00
parent 68748be999
commit 9f0ef50c9b
8 changed files with 82 additions and 49 deletions

View File

@@ -4,6 +4,8 @@
wallpaper_1 = "~/media/images/bg_1.jpg";
wallpaper_2 = "~/media/images/bg_2.jpg";
wallpaper_3 = "~/media/images/bg_3.jpg";
wallpaper_4 = "~/media/images/waterwindow.jpg";
wallpaper_5 = "~/media/images/barngreet.png";
};
bgList = builtins.attrNames bgs;
in {
@@ -12,12 +14,17 @@ in {
lockscreen = mkOption {
type = types.enum bgList;
apply = name: bgs.${name};
example = "wallpaper_2";
example = "wallpaper_1";
};
desktop = mkOption {
type = types.enum bgList;
apply = name: bgs.${name};
example = "wallpaper_1";
example = "wallpaper_2";
};
vertical = mkOption {
type = types.enum bgList;
apply = name: bgs.${name};
example = "wallpaper_3";
};
};
};