Jump to content

SecureW2 JoinNow: Difference between revisions

From NixOS Wiki
Vater (talk | contribs)
No edit summary
Tags: Mobile edit Mobile web edit
Vater (talk | contribs)
No edit summary
Tags: Mobile edit Mobile web edit
 
Line 28: Line 28:
}).env
}).env
</syntaxhighlight>
</syntaxhighlight>
== References ==
<references />

Latest revision as of 00:15, 7 October 2025

JoinNow is an application (product) from the SecureW2 company to join enterprise networks (like eduroam[1]) easily form various operating systems.[2]

SecureW2_JoinNow.run

To run the SecureW2_JoinNow.run script, you require a Shell.nix which uses buildFHSEnv to create an FHS-compliant file system.

Save the following code into a shell.nix file alongside the SecureW2 script and run nix-shell to start the script:

{
  pkgs ? import <nixpkgs> { },
}:
(pkgs.buildFHSEnv {
  name = "securew2-fhsenv";
  targetPkgs =
    pkgs:
    (with pkgs; [
      (python3.withPackages (ps: [ ps.dbus-python ])) # Run embedded Python code
      coreutils # Needs uname to identify architecture
      gnutar # Needed to extract emebedded archive
      libx11 # for GUI
      openssl # Required during Python import
      simpleTpmPk11 # Unknown use
      which # Used by shell script to find programs
      xdg-utils # Used by Python script to open links
      xwininfo # Unknown use
    ]);
  runScript = ./SecureW2_JoinNow.run;
}).env

References