added theme as toml

This commit is contained in:
twoneis 2023-11-24 05:09:42 +01:00
parent 11e79467e4
commit 9e436097a4
3 changed files with 210 additions and 7 deletions
modules/home/editor

View file

@ -1,13 +1,14 @@
{ pkgs, ... }: {
home.packages = with pkgs; [
nil
marksman
];
{ pkgs, ... }:
let
themes = {
rosepine = builtins.fromTOML "${builtins.readFile ./rose_pine_dawn.toml}";
};
in {
programs.helix = {
enable = true;
defaultEditor = true;
extraPackages = with pkgs; [ nil marksman ];
settings = import ./helix-config.nix;
themes = import ./helix-theme.nix;
themes = themes;
};
}