From 6b55424e78b1228d52612794e6e01b0fd19a66fb Mon Sep 17 00:00:00 2001 From: Sean Buckley Date: Tue, 12 Oct 2021 14:06:32 -0400 Subject: [PATCH] powerline: add extraArgs option --- modules/cli/powerline.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/modules/cli/powerline.nix b/modules/cli/powerline.nix index c79c173..37ef5f5 100644 --- a/modules/cli/powerline.nix +++ b/modules/cli/powerline.nix @@ -27,7 +27,11 @@ in "-theme ${theme}" "-path-aliases '~/git=~/git'" "-jobs $(jobs -p | wc -l)" - ]; + ] ++ config.sconfig.powerline.extraArgs; + }; + extraArgs = lib.mkOption { + type = lib.types.listOf lib.types.str; + default = [ ]; }; };