reformat all nix code
1 file changed, 23 insertions(+), 16 deletions(-)
changed files
M user/settings/base.nix → user/settings/base.nix
@@ -1,7 +1,9 @@ -{ config -, pkgs -, ... -}: { +{ + config, + pkgs, + ... +}: +{ imports = [ ./neovim.nix ./shell.nix@@ -37,9 +39,10 @@ }; xdg = { enable = true; cacheHome = - if pkgs.stdenv.isDarwin - then "${config.home.homeDirectory}/Library/Caches/XDG" - else "${config.home.homeDirectory}/.cache"; + if pkgs.stdenv.isDarwin then + "${config.home.homeDirectory}/Library/Caches/XDG" + else + "${config.home.homeDirectory}/.cache"; configHome = "${config.home.homeDirectory}/.config"; dataHome = "${config.home.homeDirectory}/.local/share"; stateHome = "${config.home.homeDirectory}/.local/state";@@ -60,7 +63,8 @@ arguments = [ "--smart-case" ]; }; - home.packages = with pkgs; + home.packages = + with pkgs; [ pv fd@@ -71,13 +75,16 @@ dateutils moreutils tree abduco - ] ++ ( - if !stdenv.isDarwin - then [ - file - lsof - unar - zip - ] else [ ] + ] + ++ ( + if !stdenv.isDarwin then + [ + file + lsof + unar + zip + ] + else + [ ] ); }