currents config

This commit is contained in:
2025-10-09 18:06:11 -06:00
parent 93cf3e672d
commit bb466db985
8 changed files with 77 additions and 8 deletions

View File

@@ -4,8 +4,8 @@
inputs = {
#dev stuff
pydev.url ="./system/extras/pydev/";
currents.url = "github:autumnalmusing/currents/handler";
# pydev.url ="./system/extras/pydev/";
currents.url = "github:autumnalmusing/currents/main";
#regular flakes
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
lix.url = "https://git.lix.systems/lix-project/lix/archive/main.tar.gz";
@@ -26,7 +26,7 @@
lix-module,
lix,
home-manager,
pydev,
# pydev,
currents,
nixos-wsl,
...

View File

@@ -4,7 +4,6 @@
obsidian
vscodium-fhs
vesktop
avizo
];
programs.bash.initExtra= ''fish'';
imports = [
@@ -14,6 +13,6 @@
# ../../packages/twmn/twmn.nix
../../packages/mako/mako.nix
../../packages/fuzzel/fuzzel.nix
../../packages/avizo/avizo.nix
# ../../packages/avizo/avizo.nix
];
}

View File

@@ -4,7 +4,6 @@
programs.alacritty = {
enable = true;
theme = "everforest_dark";
settings = {
font = {
italic = {
@@ -21,6 +20,36 @@
blur = true;
padding = {x=0;y=15;};
};
colors = {
primary = {
background = "#2b3339";
foreground = "#d3c6aa";
};
cursor = {
text = "#2b3339";
cursor = "#d3c6aa";
};
normal = {
black = "#323c41";
red = "#e67e80";
green = "#a7c080";
yellow = "#dbbc7f";
blue = "#7fbbb3";
magenta = "#d699b6";
cyan = "#83c092";
white = "#d3c6aa";
};
bright = {
black = "#445055";
red = "#e67e80";
green = "#a7c080";
yellow = "#dbbc7f";
blue = "#7fbbb3";
magenta = "#d699b6";
cyan = "#83c092";
white = "#9da9a0";
};
};
};
};
}

View File

@@ -1,6 +1,6 @@
{config, pkgs, ...}:
{
home.packages.avizo.enable = true;
services.avizo.enable = true;
home.file = {
"config.ini" = {
enable = true;

View File

@@ -0,0 +1,33 @@
{config, pkgs, ...}:
{
services.currents = {
enable = true;
weather = {
apiKeyFile = "/run/secrets/currentsApiKey";
location = "Denver, US";
units = "imperial";
provider = "openweathermap";
apiDailyLimit = 1000;
};
notifications = {
urgency = "normal";
sound = false;
};
polling = {
intervalSeconds = 300;
retryAttempts = 3;
retryDelaySeconds = 60;
};
forecastHighlights = {
temperature = {
high = 80.0;
highColor = "red";
low = 45;
lowColor = "cyan";
};
# humidity = {
# };
};
};
}

View File

@@ -155,7 +155,7 @@
};
};
"custom/currents"= {
interval= 30;
interval= 150;
exec= "/home/autumn/.local/bin/currents --output";
return-type= "json";
};

View File

@@ -14,5 +14,6 @@
playerctld.enable = true;
printing.enable = true;
pulseaudio.enable = false;
tailscale.enable = true;
};
}

View File

@@ -0,0 +1,7 @@
{config, pkgs, ...}:
{
services.endlessh = {
enable = true;
port = 22;
};
}