From 42bfc190702742bbf51d592bde069c9a2c31f1e4 Mon Sep 17 00:00:00 2001 From: isabel Date: Sun, 8 Dec 2024 22:56:42 +0000 Subject: [PATCH] style: fmt --- modules/nixos/environment/paths.nix | 9 ++++++--- parts/lib/helpers.nix | 3 ++- 2 files changed, 8 insertions(+), 4 deletions(-) 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}:"; }; /**