refactor rice into config

This commit is contained in:
atagen 2025-07-21 12:26:28 +10:00
parent 8872a12d20
commit 818af30329
64 changed files with 229 additions and 230 deletions

View file

@ -1,37 +0,0 @@
{ rice, ... }:
{
boot.tmp.useTmpfs = true;
boot.initrd.systemd.enable = true;
boot.loader.limine = {
enable = true;
style =
let
pal = rice.palette.shortHex;
in
{
wallpapers = [ rice.bg.src ];
interface = {
brandingColor = 1;
branding = "welcome to quiver";
};
graphicalTerminal =
let
getPal = p: builtins.attrValues p |> builtins.concatStringsSep ";";
in
{
palette = getPal pal.normal;
brightPalette = getPal pal.bright;
marginGradient = 0;
margin = 256;
foreground = pal.util.fg;
background = "20" + pal.util.bg;
brightForeground = pal.bright.yellow;
brightBackground = pal.util.bg;
};
backdrop = pal.util.bg;
};
maxGenerations = 5;
};
}