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

@@ -2,7 +2,7 @@
all: unset;
border: none;
border-radius: 0;
font-family: "Input Mono Narrow Light", "Font Awesome 6 Free Solid";
font-family: "DepartureMono Nerd Font", "Font Awesome 6 Free Solid";
font-size: 14px;
min-height: 0;
}

View File

@@ -39,12 +39,14 @@ in {
"~/media/images/galaxy.png"
"~/media/images/deathstar.png"
"~/media/images/trollskog.png"
"~/media/images/waterwindow.jpg"
"~/media/images/barngreet.png"
];
wallpaper = [
# kima
"DP-3,${osConfig.settings.theme.background.desktop}"
"HDMI-A-1,${osConfig.settings.theme.background.lockscreen}"
"HDMI-A-1,${osConfig.settings.theme.background.vertical}"
# bunk
"eDP-1,${osConfig.settings.theme.background.desktop}"
# toothpc

View File

@@ -86,6 +86,7 @@ in {
vpl-gpu-rt
intel-media-driver
intel-compute-runtime
intel-vaapi-driver
])
else if vendor == "nvidia"
then

View File

@@ -39,7 +39,8 @@ in {
services.glances.enable = true;
services.${unit} = {
enable = true;
environmentFile = config.age.secrets.homepageEnvironment.path;
allowedHosts = srv.url;
# environmentFile = config.age.secrets.homepageEnvironment.path;
# customCSS = ''
# @font-face {
# font-family: "VCR OSD Mono";
@@ -141,6 +142,27 @@ in {
statusStyle = "dot";
hideVersion = "true";
};
widgets = [
{
openmeteo = {
label = "Current";
units = "metric";
cache = 5;
};
}
{
openmeteo = {
label = "Kalmar";
timezone = "Europe/Stockholm";
units = "metric";
cache = 5;
latitude = 56.707262;
longitude = 16.324541;
};
}
];
services = let
homepageCategories = [
"Arr"

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";
};
};
};