Jump to content

SecureW2 JoinNow: Difference between revisions

From NixOS Wiki
Scrumplex (talk | contribs)
m Add comments to SecureW2 code
Vater (talk | contribs)
No edit summary
Tags: Mobile edit Mobile web edit
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
== SecureW2 JoinNow ==
[[{{PAGENAME}}|JoinNow]] is an application (product) from the SecureW2 company to join enterprise networks (like [[eduroam]]<ref>https://www.securew2.com/solutions/eduroam
To run the SecureW2_JoinNow.run script on NixOS, you require a [[Shell.nix]] which uses buildFHSEnv to create an FHS-compliant file system.
</ref>) easily form various operating systems.<ref>https://www.securew2.com/multios</ref>
 
== <code>SecureW2_JoinNow.run</code> ==
 
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 <code>nix-shell</code> to start the script:<syntaxhighlight lang="nix">
Save the following code into a shell.nix file alongside the SecureW2 script and run <code>nix-shell</code> to start the script:<syntaxhighlight lang="nix">
Line 24: 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