cosmic alpha

This commit is contained in:
atagen 2024-04-10 21:18:41 +10:00
parent 1d41373673
commit c5733c0812
8 changed files with 888 additions and 813 deletions

View file

@ -9,6 +9,10 @@
system = final.system;
config.allowUnfree = true;
};
polonium-pkgs = import inputs.nixpkgs-polonium {
system = final.system;
config.allowUnfree = true;
};
};
rice = import ./rice.nix;

View file

@ -3,44 +3,38 @@ with prev.lib.nix-rice; let
# theme = kitty-themes.parseTheme ./op.pal;
theme = kitty-themes.parseTheme ./pal.conf;
# theme = kitty-themes.getThemeByName "everforest_dark_hard";
in rec {
rice = {
in {
rice = rec {
palette =
rec {
normal =
palette.defaultPalette
// {
black = theme.color0;
red = theme.color1;
green = theme.color2;
yellow = theme.color3;
blue = theme.color4;
magenta = theme.color5;
cyan = theme.color6;
white = theme.color7;
};
bright =
palette.defaultPalette
// {
black = theme.color8;
red = theme.color9;
green = theme.color10;
yellow = theme.color11;
blue = theme.color12;
magenta = theme.color13;
cyan = theme.color14;
white = theme.color15;
};
util =
palette.defaultPalette
// {
fg = theme.foreground;
bg = theme.background;
fg_sel = theme.selection_foreground;
bg_sel = theme.selection_background;
cursor = theme.cursor;
# url = theme.url_color;
};
{
normal = {
black = theme.color0;
red = theme.color1;
green = theme.color2;
yellow = theme.color3;
blue = theme.color4;
magenta = theme.color5;
cyan = theme.color6;
white = theme.color7;
};
bright = {
black = theme.color8;
red = theme.color9;
green = theme.color10;
yellow = theme.color11;
blue = theme.color12;
magenta = theme.color13;
cyan = theme.color14;
white = theme.color15;
};
util = {
fg = theme.foreground;
bg = theme.background;
fg_sel = theme.selection_foreground;
bg_sel = theme.selection_background;
cursor = theme.cursor;
# url = theme.url_color;
};
}
// theme;
@ -97,11 +91,6 @@ in rec {
};
bg = {
# image = builtins.path rec {
# name = "wallpaper.jpg";
# path = ../${name};
# sha256 = "ec88d7005a97f104784e53ecaef883d33cf53f76cf4a6e89d05980bbc844c772";
# };
image = prev.callPackage ./wallpaper.nix {} {
palette = palette.toRGBShortHex final.rice.palette;
wallpaper = builtins.path rec {
@ -111,5 +100,14 @@ in rec {
};
};
};
plymouth = {
# no easy way to automate filename sadly - could try stripping "real" font name of spaces?
font = "${fonts.sans.package}/share/fonts/truetype/InriaSans-Regular.ttf";
theme = "colorful_loop";
themePackages = [
(prev.pkgs.adi1090x-plymouth-themes.override {selected_themes = ["colorful_loop"];})
];
};
}; # /rice
}