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.nix10
1 files changed, 5 insertions, 5 deletions
diff --git a/nixos/modules/packages.nix b/nixos/modules/packages.nix
index 55db94d..e97229f 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,12 +63,12 @@ in {
wakeonlan
speedtest-cli
librespeed-cli
- #termshark
+ termshark
w3m
lm_sensors
]
- ++ optionals (system == "x86_64-linux") [
+ ++ optionals isx86_64 [
nmap
ltrace
pv