feat: refactored home manager

This commit is contained in:
Nick 2025-01-19 23:40:54 -06:00
parent 65417d1809
commit 376c1d7b18
511 changed files with 1777 additions and 772 deletions

View file

@ -0,0 +1,37 @@
{ flake, ... }:
let
inherit (flake.config.aesthetics.themes)
currentTheme
palettes
font
;
el = palettes.${currentTheme}.colours;
makeColor = c: "#" + c;
in
{
global = {
font = "${font.name} ${builtins.toString font.size.popups}";
background = makeColor el.base01;
frame_color = makeColor el.base0E;
foreground = makeColor el.base05;
corner_radius = 10;
fade_in_duration = 1000;
frame = 10000;
frame_width = 1;
icon_corner_radius = 10;
monitor = 1;
offset = "20x20";
origin = "bottom-right";
progress_bar_corner_radius = 4;
timeout = 10;
transparecncy = true;
};
urgency_critical = {
frame_color = makeColor el.base09;
timeout = 0;
};
}

View file

@ -0,0 +1,15 @@
{ flake, ... }:
let
configPath = ./config;
settingsPath = import (configPath + /settings.nix) {
inherit
flake
;
};
in
{
services.dunst = {
enable = true;
settings = settingsPath;
};
}