grace/dots
dotfiles/nix configs
git clone https://git.gae.moe/grace/dots
c1be8e3
main
1{ pkgs , ...} : 2 3let 4settings = pkgs . writeText "foot.ini" '' 5[main] 6font=JetBrainsMono Nerd Font:size=12 7shell= ${ pkgs . fish } /bin/fish --login 8pad=12x12 9 10[colors] 11background=191724 12foreground=e0def4 13regular0=26233a 14regular1=eb6f92 15regular2=31748f 16regular3=f6c177 17regular4=9ccfd8 18regular5=c4a7e7 19regular6=ebbcba 20regular7=e0def4 21bright0=6e6a86 22bright1=eb6f92 23bright2=31748f 24bright3=f6c177 25bright4=9ccfd8 26bright5=c4a7e7 27bright6=ebbcba 28bright7=e0def4 29selection-background=403d52 30selection-foreground=e0def4 31'' ; 32in 33{ 34hardware . graphics . enable = true ; 35security . polkit . enable = true ; 36fonts . packages = [ pkgs . nerd-fonts . jetbrains-mono ]; 37environment . etc . "foot/foot.ini" . source = settings ; 38environment . systemPackages = [ 39pkgs . cage 40pkgs . foot 41( pkgs . writeShellScriptBin "cage-foot" '' 42exec ${ pkgs . cage } /bin/cage -s -- ${ pkgs . foot } /bin/foot --config=/etc/foot/foot.ini 43'' ) 44]; 45}