diff options
| author | Karel Kočí <cynerd@email.cz> | 2025-11-14 09:18:36 +0100 |
|---|---|---|
| committer | Karel Kočí <cynerd@email.cz> | 2025-11-14 09:18:36 +0100 |
| commit | e44c078ebcea9d81da6d61a0ae596a3e46e9a12d (patch) | |
| tree | 8870b8640cec95c389b9afc5dbbdd048f88145ef /nixos/modules/packages.nix | |
| parent | 7606d67ed1dc56b5b5f05b6423f7a5e81db05151 (diff) | |
| download | nixos-personal-e44c078ebcea9d81da6d61a0ae596a3e46e9a12d.tar.gz nixos-personal-e44c078ebcea9d81da6d61a0ae596a3e46e9a12d.tar.bz2 nixos-personal-e44c078ebcea9d81da6d61a0ae596a3e46e9a12d.zip | |
treewide: full update in some time
Diffstat (limited to 'nixos/modules/packages.nix')
| -rw-r--r-- | nixos/modules/packages.nix | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/nixos/modules/packages.nix b/nixos/modules/packages.nix index 96e9a2e..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; @@ -63,14 +63,14 @@ in { wakeonlan speedtest-cli librespeed-cli - #termshark + termshark w3m lm_sensors ] - ++ optionals (system == "x86_64-linux") [ + ++ optionals isx86_64 [ nmap - ltrace + #ltrace pv screen ] |
