heather: homepage background image + frosted cardBlur
Background photo (mounted ro from /var/lib/homepage-images into /app/public/images). cardBlur: md for matte semi-transparent service cards. opacity 70 to soften the photo.
This commit is contained in:
parent
190c93156e
commit
1ccc59dd8d
1 changed files with 10 additions and 0 deletions
|
|
@ -74,6 +74,14 @@ let
|
|||
searchDescriptions: true
|
||||
hideInternetSearch: true
|
||||
hideVersion: true
|
||||
# Background photo (mounted ro at /app/public/images/ from /var/lib/homepage-images).
|
||||
# cardBlur = frosted-glass / matte semi-transparent service & bookmark cards.
|
||||
# NB: cardBlur incompatible with background blur/saturate/brightness filters,
|
||||
# so only `opacity` is used here to soften the photo.
|
||||
background:
|
||||
image: /images/background.jpg
|
||||
opacity: 70
|
||||
cardBlur: md
|
||||
'';
|
||||
|
||||
homepageBookmarksYaml = pkgs.writeText "homepage-bookmarks.yaml" ''
|
||||
|
|
@ -395,6 +403,8 @@ in
|
|||
"${homepageServicesYaml}:/app/config/services.yaml:ro"
|
||||
"${homepageSettingsYaml}:/app/config/settings.yaml:ro"
|
||||
"${homepageBookmarksYaml}:/app/config/bookmarks.yaml:ro"
|
||||
# Background image (photo), outside git (binary). See settings.yaml `background`.
|
||||
"/var/lib/homepage-images:/app/public/images:ro"
|
||||
];
|
||||
service.environment = {
|
||||
HOMEPAGE_ALLOWED_HOSTS = "home.iscg.dev";
|
||||
|
|
|
|||
Loading…
Reference in a new issue