Pull oh-my-posh theme from its own repository

With help from others, I can now pull the theme file from the repo it
lives in instead of embedding it here!
This commit is contained in:
Gene Liverman 2023-09-13 23:03:22 -04:00
parent badf0988a2
commit 180b8494ba
4 changed files with 27 additions and 167 deletions

View file

@ -1,4 +1,4 @@
{ pkgs, ... }: {
{ pkgs, genebean-omp-themes, ... }: {
home.stateVersion = "23.11";
home.packages = with pkgs; [
colordiff
@ -51,7 +51,7 @@
oh-my-posh = {
enable = true;
enableZshIntegration = true;
settings = builtins.fromJSON (builtins.unsafeDiscardStringContext (builtins.readFile ./files/beanbag.omp.json));
settings = builtins.fromJSON (builtins.unsafeDiscardStringContext (builtins.readFile (genebean-omp-themes + "/beanbag.omp.json")));
};
vim = {
enable = true;