Skip to content

Instantly share code, notes, and snippets.

View DDoSolitary's full-sized avatar
📚
Doing homework

DDoSolitary DDoSolitary

📚
Doing homework
View GitHub Profile
@DDoSolitary
DDoSolitary / beihanglogin.nix
Created June 28, 2023 05:21
NixOS module for automatic authentication of BUAA campus network
{ config, lib, pkgs, ... }:
let beihanglogin = with pkgs; stdenv.mkDerivation rec {
pname = "beihanglogin";
version = "unstable-2022-03-11";
src = fetchFromGitHub {
owner = "buaahub";
repo = "BeihangLogin";
rev = "5aff7091e967df8c3a6648df9c6c3bc6357b051b";
sha256 = "tbQ5JRcPQlebygWbJpaFY2HKcS7j4tPrdCXa/zEvLWg=";
};