restructure

This commit is contained in:
2026-04-22 13:27:21 -05:00
parent 06385f94f6
commit e950b4c162
34 changed files with 112 additions and 253 deletions

View File

@@ -1,6 +1,6 @@
{ ... }: {
flake.homeModules.nathan = { config, lib, pkgs, ... }: {
flake.homeModules.nathan-ohmyposh = { config, lib, pkgs, ... }: {
home.packages = with pkgs; [
oh-my-posh
@@ -9,7 +9,7 @@
programs.zsh = {
initContent = with lib; mkMerge [
(mkIf config.homeconfig.wal.enable (mkBefore ''
(mkIf (builtins.any (x: x == pkgs.pywal16) config.home.packages) (mkBefore ''
cat ${config.home.homeDirectory}/.cache/wal/sequences
eval "$(oh-my-posh init zsh --config ${config.home.homeDirectory}/.cache/wal/ohmyposh.toml)"
@@ -21,7 +21,7 @@
bindkey '\r' _colorRefresh
''))
(mkIf (!config.homeconfig.wal.enable) (mkBefore ''
(mkIf (!(builtins.any (x: x == pkgs.pywal16) config.home.packages)) (mkBefore ''
eval "$(oh-my-posh init zsh --config ${config.home.homeDirectory}/.config/ohmyposh/ohmyposh.toml)"
''))
];