Remove 'with' from most modules

This commit is contained in:
Filippo Berto 2023-08-15 18:33:34 +02:00
parent 40032f7fd9
commit 7459ae0e96
No known key found for this signature in database
GPG key ID: FE98AE5EC52B1056
27 changed files with 222 additions and 230 deletions

View file

@ -1,26 +1,25 @@
{ pkgs, ... }:
let
strPalette = with pkgs.rice;
pkgs.lib.nix-rice.palette.toRgbHex rec {
inherit (colorPalette) normal bright primary;
dim = colorPalette.dark;
cursor = {
cursor = normal.white;
text = normal.black;
};
vi_mode_cursor = {
cursor = normal.white;
text = normal.black;
};
selection.background = dim.blue;
search = {
matches.background = dim.cyan;
bar = {
foreground = dim.cyan;
background = dim.yellow;
};
strPalette = pkgs.lib.nix-rice.palette.toRgbHex rec {
inherit (pkgs.rice.colorPalette) normal bright primary;
dim = pkgs.rice.colorPalette.dark;
cursor = {
cursor = normal.white;
text = normal.black;
};
vi_mode_cursor = {
cursor = normal.white;
text = normal.black;
};
selection.background = dim.blue;
search = {
matches.background = dim.cyan;
bar = {
foreground = dim.cyan;
background = dim.yellow;
};
};
};
in
{
# Include fonts packages