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

@ -20,8 +20,14 @@
# Manage Homebrew itself
nix-homebrew.url = "github:zhaofengli-wip/nix-homebrew";
# My oh-my-posh theme
genebean-omp-themes = {
url = "github:genebean/my-oh-my-posh-themes";
flake = false;
};
}; # end inputs
outputs = { self, nixpkgs, nix-darwin, home-manager, nix-homebrew, ... }: {
outputs = { self, nixpkgs, nix-darwin, home-manager, nix-homebrew, genebean-omp-themes, ... }: {
nixosConfigurations = let
user = "gene";
in {
@ -79,6 +85,7 @@
users.${user}.imports = [
./modules/home-manager
];
extraSpecialArgs = { inherit genebean-omp-themes; };
};
}
]; # end modules