diff --git a/modules/nixos/environment/paths.nix b/modules/nixos/environment/paths.nix index ac82e7be5..c03b09bff 100644 --- a/modules/nixos/environment/paths.nix +++ b/modules/nixos/environment/paths.nix @@ -6,7 +6,10 @@ let in { # if a given shell is enabled, add the corresponding completion paths - environment.pathsToLink = [ - "/share/bash-completion" - ] ++ optional cfg.zsh.enable "/share/zsh" ++ optional cfg.fish.enable "/share/fish"; + environment.pathsToLink = + [ + "/share/bash-completion" + ] + ++ optional cfg.zsh.enable "/share/zsh" + ++ optional cfg.fish.enable "/share/fish"; } diff --git a/parts/lib/helpers.nix b/parts/lib/helpers.nix index d0134a124..710a4f1ca 100644 --- a/parts/lib/helpers.nix +++ b/parts/lib/helpers.nix @@ -223,7 +223,8 @@ let ":" + (builtins.toString port) else ":" + port - }/".pushInsteadOf = "${alias}:"; + }/".pushInsteadOf = + "${alias}:"; }; /**