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

View File

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

View File

@@ -4,7 +4,6 @@
programs.alacritty = { programs.alacritty = {
enable = true; enable = true;
theme = "everforest_dark";
settings = { settings = {
font = { font = {
italic = { italic = {
@@ -21,6 +20,36 @@
blur = true; blur = true;
padding = {x=0;y=15;}; 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, ...}: {config, pkgs, ...}:
{ {
home.packages.avizo.enable = true; services.avizo.enable = true;
home.file = { home.file = {
"config.ini" = { "config.ini" = {
enable = true; 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"= { "custom/currents"= {
interval= 30; interval= 150;
exec= "/home/autumn/.local/bin/currents --output"; exec= "/home/autumn/.local/bin/currents --output";
return-type= "json"; return-type= "json";
}; };

View File

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

View File

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