re-enable waydroid, add hax tools
This commit is contained in:
parent
de95971e8a
commit
7711077791
7 changed files with 40 additions and 11 deletions
|
@ -196,6 +196,7 @@
|
|||
# Modules for offline linux machines.
|
||||
linuxOfflineModuleSet = [
|
||||
./nixos/packages/offline.nix
|
||||
./nixos/configs/waydroid.nix
|
||||
];
|
||||
|
||||
# Helper functions for creating modules in the defintions below.
|
||||
|
|
|
@ -92,7 +92,9 @@
|
|||
#
|
||||
# Services
|
||||
#
|
||||
services.pcscd.enable = true;
|
||||
services.pcscd = {
|
||||
enable = true;
|
||||
};
|
||||
services.openssh.enable = true;
|
||||
services.mullvad-vpn.enable = true;
|
||||
virtualisation.docker.enable = true;
|
||||
|
|
|
@ -13,15 +13,17 @@
|
|||
}:
|
||||
let
|
||||
# libfprint with patches for the GPD-provided reader
|
||||
libfprint-gpd = pkgs.libfprint.overrideAttrs (prev: {
|
||||
version = "git";
|
||||
libfprint-gpd =
|
||||
pkgs.libfprint.overrideAttrs
|
||||
(prev: {
|
||||
version = "git";
|
||||
|
||||
src = pkgs.fetchFromGitHub {
|
||||
owner = "ericlinagora";
|
||||
repo = "libfprint-CS9711";
|
||||
rev = "03ace5b20146eb01c77fb3ea63e1909984d6d377";
|
||||
sha256 = "sha256-gr3UvFB6D04he/9zawvQIuwfv0B7fEZb6BGiNAbLids=";
|
||||
};
|
||||
src = pkgs.fetchFromGitHub {
|
||||
owner = "ericlinagora";
|
||||
repo = "libfprint-CS9711";
|
||||
rev = "03ace5b20146eb01c77fb3ea63e1909984d6d377";
|
||||
sha256 = "sha256-gr3UvFB6D04he/9zawvQIuwfv0B7fEZb6BGiNAbLids=";
|
||||
};
|
||||
|
||||
nativeBuildInputs =
|
||||
prev.nativeBuildInputs
|
||||
|
@ -32,9 +34,19 @@ let
|
|||
nss
|
||||
]);
|
||||
|
||||
installCheckPhase = "";
|
||||
installCheckPhase = "";
|
||||
|
||||
});
|
||||
}).overrideAttrs
|
||||
(prev: rec {
|
||||
version = "1.94.4";
|
||||
src = pkgs.fetchFromGitLab {
|
||||
domain = "gitlab.freedesktop.org";
|
||||
owner = "libfprint";
|
||||
repo = "fprintd";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-B2g2d29jSER30OUqCkdk3+Hv5T3DA4SUKoyiqHb8FeU=";
|
||||
};
|
||||
});
|
||||
|
||||
in
|
||||
{
|
||||
|
@ -48,6 +60,9 @@ in
|
|||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
|
||||
# Allow using our phone as an NFC smartcard reader.
|
||||
services.pcscd.plugins = [ pkgs.vsmartcard-pcsc-relay ];
|
||||
|
||||
# Networking.
|
||||
networking.hostName = "hinata";
|
||||
networking.networkmanager.enable = true;
|
||||
|
|
|
@ -71,6 +71,9 @@
|
|||
|
||||
services.blueman.enable = true;
|
||||
|
||||
# Allow the NFC reader on the trackpoint to be used as a smartcard reader.
|
||||
hardware.nfc-nci.enable = true;
|
||||
|
||||
#
|
||||
# Niri configuration for our monitors.
|
||||
#
|
||||
|
|
|
@ -150,6 +150,7 @@ with pkgs;
|
|||
deprekages.rfe-touch
|
||||
deprekages.rfe-signal
|
||||
deprekages.librevna
|
||||
python3Packages.meshtastic
|
||||
|
||||
# For editors.
|
||||
fish
|
||||
|
|
|
@ -13,6 +13,10 @@
|
|||
appId = "com.github.vikdevelop.photopea_app";
|
||||
origin = "flathub";
|
||||
}
|
||||
{
|
||||
appId = "io.emeric.toolblex";
|
||||
origin = "flathub";
|
||||
}
|
||||
];
|
||||
|
||||
services.flatpak.overrides = {
|
||||
|
|
|
@ -42,6 +42,9 @@ with pkgs;
|
|||
gnuradioPackages.fosphor
|
||||
gnuradioPackages.lora_sdr
|
||||
|
||||
# hax
|
||||
btlejack
|
||||
|
||||
# Build systems.
|
||||
cmake
|
||||
gnumake
|
||||
|
|
Loading…
Add table
Reference in a new issue