- Add and configure Gnuplot - Add agenda shortcut to kakoune - Add programming support for Go, Java, Fennel and Python - Add Lux package manager for lua
62 lines
1.9 KiB
Nix
62 lines
1.9 KiB
Nix
{ config, pkgs, ... }:
|
|
|
|
let
|
|
c = config.colorScheme.palette;
|
|
hex = cl: "#${cl}";
|
|
fontsConf = pkgs.makeFontsConf {
|
|
fontDirectories = [
|
|
pkgs.aporetic-bin
|
|
];
|
|
};
|
|
in
|
|
{
|
|
home.packages = with pkgs; [
|
|
gnuplot
|
|
aporetic-bin
|
|
];
|
|
|
|
home.sessionVariables = {
|
|
FONTCONFIG_FILE = "${fontsConf}";
|
|
};
|
|
|
|
fonts.fontconfig.enable = true;
|
|
|
|
home.file.".gnuplot".text = ''
|
|
set terminal kittygd enhanced truecolor size 1000,650 \
|
|
font "Aporetic Serif, 18" \
|
|
background rgb "${hex c.base00}"
|
|
|
|
set object 1 rectangle from screen 0,0 to screen 1,1 behind \
|
|
fillcolor rgb "${hex c.base00}" fillstyle solid 1.0 noborder
|
|
|
|
set border lc rgb "${hex c.base04}" lw 1.2
|
|
set grid lc rgb "${hex c.base02}" lw 1, lc rgb "${hex c.base01}" lw 1
|
|
set key textcolor rgb "${hex c.base05}"
|
|
set title textcolor rgb "${hex c.base07}" font "Aporetic Serif,20"
|
|
set xlabel textcolor rgb "${hex c.base04}"
|
|
set ylabel textcolor rgb "${hex c.base04}"
|
|
set xtics textcolor rgb "${hex c.base04}"
|
|
set ytics textcolor rgb "${hex c.base04}"
|
|
|
|
set linetype 1 lc rgb "${hex c.base08}" lw 2 pt 7 # red
|
|
set linetype 2 lc rgb "${hex c.base0B}" lw 2 pt 7 # green
|
|
set linetype 3 lc rgb "${hex c.base0D}" lw 2 pt 7 # blue
|
|
set linetype 4 lc rgb "${hex c.base0E}" lw 2 pt 7 # purple
|
|
set linetype 5 lc rgb "${hex c.base0A}" lw 2 pt 7 # yellow
|
|
set linetype 6 lc rgb "${hex c.base0C}" lw 2 pt 7 # aqua
|
|
set linetype 7 lc rgb "${hex c.base09}" lw 2 pt 7 # orange
|
|
set linetype 8 lc rgb "${hex c.base0F}" lw 2 pt 7 # brown
|
|
set linetype cycle 8
|
|
|
|
set palette defined ( \
|
|
0 "${hex c.base00}", \
|
|
1 "${hex c.base01}", \
|
|
2 "${hex c.base0D}", \
|
|
3 "${hex c.base0C}", \
|
|
4 "${hex c.base0B}", \
|
|
5 "${hex c.base0A}", \
|
|
6 "${hex c.base09}", \
|
|
7 "${hex c.base08}" )
|
|
'';
|
|
}
|