diff --git a/modules/home/programs/shell/oh-my-posh.nix b/modules/home/programs/shell/oh-my-posh.nix index 77d6214..a4c9db6 100644 --- a/modules/home/programs/shell/oh-my-posh.nix +++ b/modules/home/programs/shell/oh-my-posh.nix @@ -2,8 +2,8 @@ config, lib, ... -}: -with lib; let +}: let + inherit (lib) mkIf mkEnableOption; cfg = config.shell.oh-my-posh; in { options = { @@ -69,7 +69,7 @@ in { style = "plain"; foreground = "white"; background = "transparent"; - template = "{{ if .SSHSession }} {{ .UserName }}@{{ .HostName }} {{ end }}"; + template = "{{ if .SSHSession }} {{ .UserName }}@{{ .HostName }}{{ end }}"; } { style = "plain"; @@ -80,7 +80,7 @@ in { charging_icon = "󱟡"; discharging_icon = "󱟟"; }; - template = "{{ if not .Error }} {{ .Icon }} {{ .Percentage }}%{{ end }}"; + template = "{{ if not .Error }} {{ .Icon }} {{ .Percentage }}%{{ end }}"; type = "battery"; } ];