diff options
author | Alan Pearce | 2019-10-05 18:04:34 +0200 |
---|---|---|
committer | Alan Pearce | 2019-10-05 18:04:34 +0200 |
commit | 09e879cfa15b856a1a26820fcb646edc4adcda88 (patch) | |
tree | 06bf8b06cbe15fab2bc3267ff41602836454af86 /user/modules | |
parent | a64e999255638c9a0ae5b7c104d80ac3201b1bc5 (diff) | |
download | nixfiles-09e879cfa15b856a1a26820fcb646edc4adcda88.tar.lz nixfiles-09e879cfa15b856a1a26820fcb646edc4adcda88.tar.zst nixfiles-09e879cfa15b856a1a26820fcb646edc4adcda88.zip |
Move shell and UI packages to user
Diffstat (limited to 'user/modules')
-rw-r--r-- | user/modules/base.nix | 22 | ||||
-rw-r--r-- | user/modules/user-interface.nix | 16 |
2 files changed, 38 insertions, 0 deletions
diff --git a/user/modules/base.nix b/user/modules/base.nix index 46645d94..cc83cb47 100644 --- a/user/modules/base.nix +++ b/user/modules/base.nix @@ -6,4 +6,26 @@ manual = { html.enable = true; }; + home.packages = with pkgs; [ + pv + fd + unstable.sd + entr + file + htop + lsof + iftop + nmap + moreutils + mtr + tree + zip + telnet + ] ++ ( + if !stdenv.isDarwin + then [ + vim + unar + ] else [ + ]); } diff --git a/user/modules/user-interface.nix b/user/modules/user-interface.nix new file mode 100644 index 00000000..835cb7b7 --- /dev/null +++ b/user/modules/user-interface.nix @@ -0,0 +1,16 @@ +{ config, pkgs, ... }: + +let + inherit (pkgs) stdenv; +in +{ + home.sessionVariables = { + TERMINAL = "${pkgs.unstable.xst}/bin/xst"; + }; + + home.packages = with pkgs; [ + unstable.xst # st, but with support for XResources + ] ++ lib.optionals (!stdenv.isDarwin) [ + pkgs.unstable.mu + ]; +} |