From bc40b7e0ad2ef5960b7f1695b4520909252a0e49 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Thu, 19 Dec 2024 12:54:16 -0800 Subject: switch to the newer version of nixfmt `nixfmt-rfc-style' replaces `nixfmt-classic'. It's actively maintained, but also changes the style, so this commit touches all the files in the repository. --- nix/users/fcuny/shell.nix | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) (limited to 'nix/users/fcuny/shell.nix') diff --git a/nix/users/fcuny/shell.nix b/nix/users/fcuny/shell.nix index d95c74d..e690437 100644 --- a/nix/users/fcuny/shell.nix +++ b/nix/users/fcuny/shell.nix @@ -1,7 +1,10 @@ { config, pkgs, ... }: -let isLinux = pkgs.stdenv.isLinux; -in { - home.packages = with pkgs; +let + isLinux = pkgs.stdenv.isLinux; +in +{ + home.packages = + with pkgs; [ # shell shellcheck @@ -28,7 +31,8 @@ in { aspellDicts.en aspellDicts.en-computers aspellDicts.en-science - ] ++ (lib.optionals (isLinux) [ htop ]); + ] + ++ (lib.optionals (isLinux) [ htop ]); # https://github.com/nix-community/home-manager/blob/master/modules/programs/fish.nix programs.fish = { @@ -65,7 +69,10 @@ in { programs.fd = { enable = true; hidden = true; - ignores = [ ".git/" ".direnv/" ]; + ignores = [ + ".git/" + ".direnv/" + ]; }; programs.direnv = { -- cgit v1.2.3