installer: move network-status into $PATH

This commit is contained in:
Jörg Thalheim
2024-12-11 21:07:19 +01:00
parent 3295b9fc92
commit 7b50fc4982

View File

@@ -6,7 +6,7 @@
}: }:
let let
network-status = pkgs.writeShellScript "network-status" '' network-status = pkgs.writeShellScriptBin "network-status" ''
export PATH=${ export PATH=${
lib.makeBinPath ( lib.makeBinPath (
with pkgs; with pkgs;
@@ -50,7 +50,10 @@ in
./zfs-latest.nix ./zfs-latest.nix
]; ];
environment.systemPackages = [ pkgs.nixos-facter ]; environment.systemPackages = [
pkgs.nixos-facter
network-status
];
######################################################################################################## ########################################################################################################
# # # #