- Added Zoom

- Fingerprint hack
    - Reorg
This commit is contained in:
ari committed 2024-01-16 15:24:02 -05:00
1 parent 10ac01ecd4
commit ceb877a44a
6 files changed
+74 -1

No files matched your search

+9
View File
@@ -25,8 +25,17 @@
docker-compose
usbutils
wget
(import (fetchTarball https://install.devenv.sh/latest)).default
];
# Exclude Gnome packages
environment.gnome.excludePackages = [
pkgs.gnome-tour
];
services.xserver.excludePackages = [
pkgs.xterm
];
# Fonts
fonts = {
packages = with pkgs; [
+14
View File
@@ -26,4 +26,18 @@
alsa.support32Bit = true;
pulse.enable = true;
};
# Special Cronjobs
services.cron = {
enable = true;
systemCronJobs = [
"0 0 * * * root nix-channel --update >> /var/log/cron/updater.log"
];
};
# Programs
programs.tmux = {
enable = true;
clock24 = true;
};
}
+2 -1
View File
@@ -14,6 +14,7 @@
firefox
bitwarden-cli
jq
zoom-us
];
};
home-manager.users.${user.name} = {
@@ -51,4 +52,4 @@
};
};
};
}
}
@@ -0,0 +1,30 @@
#! /usr/bin/python3
import gi
gi.require_version('FPrint', '2.0')
from gi.repository import FPrint
ctx = FPrint.Context()
for dev in ctx.get_devices():
print(dev)
print(dev.get_driver())
print(dev.props.device_id);
dev.open_sync()
prints = dev.list_prints_sync()
print("num prints stored: %d" % len(prints))
for p in prints:
print('deleting print:')
date = p.props.enroll_date
print(' %04d-%02d-%02d valid: %d' % (date.get_year(), date.get_month(), date.get_day(), date.valid()))
print(' ' + str(p.props.finger))
print(' ' + str(p.props.username))
print(' ' + str(p.props.description))
dev.delete_print_sync(p)
print('deleted')
dev.close_sync()
+19
View File
@@ -0,0 +1,19 @@
{ pkgs ? import <nixpkgs> {} }:
pkgs.mkShell {
name = "clear-fprint-shell";
nativeBuildInputs = [
pkgs.gobject-introspection
pkgs.libfprint
pkgs.fprintd
pkgs.gusb
pkgs.appimage-run
pkgs.glibc
];
buildInputs = [
pkgs.gtk3
pkgs.gst_all_1.gstreamer
(pkgs.python3.withPackages (p: with p; [
pygobject3 gst-python
]))
];
}