From 840446aabcf098cfaa29740140e2bf449a1818df Mon Sep 17 00:00:00 2001 From: jay Date: Wed, 2 Jul 2025 05:57:11 -0400 Subject: [PATCH] Move oh-my-posh out of home configuration. --- nodes/hosts/common/home/jay/home.nix | 8 +------- nodes/hosts/common/home/jay/programs/oh-my-posh.nix | 7 +++++++ 2 files changed, 8 insertions(+), 7 deletions(-) create mode 100644 nodes/hosts/common/home/jay/programs/oh-my-posh.nix diff --git a/nodes/hosts/common/home/jay/home.nix b/nodes/hosts/common/home/jay/home.nix index dcb08db..292631f 100644 --- a/nodes/hosts/common/home/jay/home.nix +++ b/nodes/hosts/common/home/jay/home.nix @@ -11,6 +11,7 @@ ./programs/bash.nix ./programs/git.nix ./programs/lazygit.nix + ./programs/oh-my-posh.nix ./programs/rofi.nix ./services/arrpc.nix ./services/fluidsynth.nix @@ -78,13 +79,6 @@ }; }; - - programs.oh-my-posh = { - enable = true; - enableBashIntegration = true; - useTheme = "blueish"; - }; - programs.rbw = { enable = true; # settings = { diff --git a/nodes/hosts/common/home/jay/programs/oh-my-posh.nix b/nodes/hosts/common/home/jay/programs/oh-my-posh.nix new file mode 100644 index 0000000..2c43908 --- /dev/null +++ b/nodes/hosts/common/home/jay/programs/oh-my-posh.nix @@ -0,0 +1,7 @@ +{ pkgs, ...}: { + programs.oh-my-posh = { + enable = true; + enableBashIntegration = true; + useTheme = "blueish"; + }; +}