diff options
Diffstat (limited to '')
-rw-r--r-- | nix/users/fcuny/home-manager.nix | 21 | ||||
-rw-r--r-- | nix/users/fcuny/shell.nix | 47 |
2 files changed, 34 insertions, 34 deletions
diff --git a/nix/users/fcuny/home-manager.nix b/nix/users/fcuny/home-manager.nix index a344151..7752328 100644 --- a/nix/users/fcuny/home-manager.nix +++ b/nix/users/fcuny/home-manager.nix @@ -1,8 +1,6 @@ { darwin, ... }: -{ config, lib, pkgs, ... }: -let isLinux = pkgs.stdenv.isLinux; -in { +{ config, lib, pkgs, ... }: { home.stateVersion = "23.05"; xdg.enable = true; @@ -15,16 +13,6 @@ in { # encryption age - # media - mpv - ffmpeg - - # dicts - aspell - aspellDicts.en - aspellDicts.en-computers - aspellDicts.en-science - # nix nil nix-direnv @@ -32,11 +20,14 @@ in { nixfmt-classic nixpkgs-fmt nil # nix lsp - - ] ++ (lib.optionals (isLinux) [ htop ]) ++ (lib.optionals (darwin) [ + ] ++ (lib.optionals (darwin) [ # hashicorp boundary nomad-pack tfswitch + + # media + mpv + ffmpeg ]); } diff --git a/nix/users/fcuny/shell.nix b/nix/users/fcuny/shell.nix index 09fbc40..bfedc45 100644 --- a/nix/users/fcuny/shell.nix +++ b/nix/users/fcuny/shell.nix @@ -1,25 +1,34 @@ -{ config, pkgs, ... }: { - home.packages = with pkgs; [ - # shell - shellcheck +{ config, pkgs, ... }: +let isLinux = pkgs.stdenv.isLinux; +in { + home.packages = with pkgs; + [ + # shell + shellcheck - # shell utils - coreutils - direnv - dust - procs - ripgrep - tree - wget + # shell utils + coreutils + direnv + dust + procs + ripgrep + tree + wget - # network - bandwhich + # network + bandwhich - # data manipulation - jless - jq - yq - ]; + # data manipulation + jless + jq + yq + + # dicts + aspell + aspellDicts.en + aspellDicts.en-computers + aspellDicts.en-science + ] ++ (lib.optionals (isLinux) [ htop ]); programs.fish = { enable = true; |