diff options
author | Alan Pearce | 2022-10-16 23:49:18 +0200 |
---|---|---|
committer | Alan Pearce | 2022-10-16 23:56:07 +0200 |
commit | 05dd85210e465caa44ef7254f2781b2d12ba2882 (patch) | |
tree | 85ccc720e339dd5ca8d7eb3ce6a3488c78675235 /user/settings/base.nix | |
parent | 472dbbdbb246cf3d8ce3a5c3c6cefaa07b7589df (diff) | |
download | nixfiles-05dd85210e465caa44ef7254f2781b2d12ba2882.tar.lz nixfiles-05dd85210e465caa44ef7254f2781b2d12ba2882.tar.zst nixfiles-05dd85210e465caa44ef7254f2781b2d12ba2882.zip |
Reformat files with alejandra
Diffstat (limited to 'user/settings/base.nix')
-rw-r--r-- | user/settings/base.nix | 64 |
1 files changed, 34 insertions, 30 deletions
diff --git a/user/settings/base.nix b/user/settings/base.nix index 74c759bb..c15b2767 100644 --- a/user/settings/base.nix +++ b/user/settings/base.nix @@ -1,6 +1,9 @@ -{ config, lib, pkgs, ... }: - { + config, + lib, + pkgs, + ... +}: { imports = [ ../modules/nvim-coc.nix ]; @@ -37,7 +40,10 @@ }; home.sessionVariables = { EMAIL = "alan@alanpearce.eu"; - XDG_CACHE_HOME = if pkgs.stdenv.isDarwin then "$HOME/Library/Caches/XDG" else "$HOME/.cache"; + XDG_CACHE_HOME = + if pkgs.stdenv.isDarwin + then "$HOME/Library/Caches/XDG" + else "$HOME/.cache"; XDG_CONFIG_HOME = "$HOME/.config"; XDG_DATA_HOME = "$HOME/.local/share"; }; @@ -55,33 +61,31 @@ }; }; home.packages = with pkgs; - [ - pv - fd - sd - entr - ripgrep - iftop - nmap - moreutils - mtr - tree - abduco - dvtm - vimv - ] ++ - ( - if !stdenv.isDarwin - then - [ - file - ldns - lsof - unar - zip - ] - else [ + pv + fd + sd + entr + ripgrep + iftop + nmap + moreutils + mtr + tree + abduco + dvtm + vimv ] - ); + ++ ( + if !stdenv.isDarwin + then [ + file + ldns + lsof + unar + zip + ] + else [ + ] + ); } |