aboutsummaryrefslogtreecommitdiff
path: root/nixos/modules/packages.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/modules/packages.nix')
-rw-r--r--nixos/modules/packages.nix15
1 files changed, 6 insertions, 9 deletions
diff --git a/nixos/modules/packages.nix b/nixos/modules/packages.nix
index 155d8a5..f6961af 100644
--- a/nixos/modules/packages.nix
+++ b/nixos/modules/packages.nix
@@ -1,11 +1,11 @@
{
- config,
lib,
pkgs,
...
}: let
inherit (lib) optionals;
- isNative = config.nixpkgs.hostPlatform == config.nixpkgs.buildPlatform;
+ inherit (pkgs.stdenv.hostPlatform) isx86_64;
+ isNative = pkgs.stdenv.hostPlatform == pkgs.stdenv.buildPlatform;
in {
nixpkgs = {
config.allowUnfree = true;
@@ -41,12 +41,12 @@ in {
btop
iotop
mc
- tmux
# ls tools
tree
lsof
strace
+ ripgrep
sourceHighlight # Colors for less
unrar
@@ -63,17 +63,14 @@ in {
wakeonlan
speedtest-cli
librespeed-cli
- #termshark
+ termshark
w3m
lm_sensors
]
- ++ optionals (system != "armv7l-linux") [
- ranger
- ]
- ++ optionals (system == "x86_64-linux") [
+ ++ optionals isx86_64 [
nmap
- ltrace
+ #ltrace
pv
screen
]