Rebased from earlier flake branch. This branch reapplies nixpkgs-fmt code cleanup then cherry-picks the "nix: flake support".
The current state of flakes support is rather primitive. The nix code depends on packages from nixpkgs-unstable e.g. pyqt6. For now, users of stable nixpkgs should add the openconnect-sso overlay to nixpkgs-unstable, and combine it with the reset of their packages from nixpkgs-22.11.
Rebased from earlier
flake
branch. This branch reappliesnixpkgs-fmt
code cleanup then cherry-picks the "nix: flake support".The current state of flakes support is rather primitive. The nix code depends on packages from nixpkgs-unstable e.g.
pyqt6
. For now, users of stable nixpkgs should add theopenconnect-sso
overlay to nixpkgs-unstable, and combine it with the reset of their packages from nixpkgs-22.11.Here is an example
flake.nix
for a NixOS system:After the release of nixpkgs-23.05, the usage of nixpkgs-unstable will no longer be necessary.