re-enable waydroid, add hax tools

This commit is contained in:
Kate 2025-07-02 12:12:02 +02:00
parent de95971e8a
commit 7711077791
7 changed files with 40 additions and 11 deletions

View file

@ -196,6 +196,7 @@
# Modules for offline linux machines. # Modules for offline linux machines.
linuxOfflineModuleSet = [ linuxOfflineModuleSet = [
./nixos/packages/offline.nix ./nixos/packages/offline.nix
./nixos/configs/waydroid.nix
]; ];
# Helper functions for creating modules in the defintions below. # Helper functions for creating modules in the defintions below.

View file

@ -92,7 +92,9 @@
# #
# Services # Services
# #
services.pcscd.enable = true; services.pcscd = {
enable = true;
};
services.openssh.enable = true; services.openssh.enable = true;
services.mullvad-vpn.enable = true; services.mullvad-vpn.enable = true;
virtualisation.docker.enable = true; virtualisation.docker.enable = true;

View file

@ -13,7 +13,9 @@
}: }:
let let
# libfprint with patches for the GPD-provided reader # libfprint with patches for the GPD-provided reader
libfprint-gpd = pkgs.libfprint.overrideAttrs (prev: { libfprint-gpd =
pkgs.libfprint.overrideAttrs
(prev: {
version = "git"; version = "git";
src = pkgs.fetchFromGitHub { src = pkgs.fetchFromGitHub {
@ -34,6 +36,16 @@ let
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 in
@ -48,6 +60,9 @@ in
boot.loader.systemd-boot.enable = true; boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true; boot.loader.efi.canTouchEfiVariables = true;
# Allow using our phone as an NFC smartcard reader.
services.pcscd.plugins = [ pkgs.vsmartcard-pcsc-relay ];
# Networking. # Networking.
networking.hostName = "hinata"; networking.hostName = "hinata";
networking.networkmanager.enable = true; networking.networkmanager.enable = true;

View file

@ -71,6 +71,9 @@
services.blueman.enable = true; 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. # Niri configuration for our monitors.
# #

View file

@ -150,6 +150,7 @@ with pkgs;
deprekages.rfe-touch deprekages.rfe-touch
deprekages.rfe-signal deprekages.rfe-signal
deprekages.librevna deprekages.librevna
python3Packages.meshtastic
# For editors. # For editors.
fish fish

View file

@ -13,6 +13,10 @@
appId = "com.github.vikdevelop.photopea_app"; appId = "com.github.vikdevelop.photopea_app";
origin = "flathub"; origin = "flathub";
} }
{
appId = "io.emeric.toolblex";
origin = "flathub";
}
]; ];
services.flatpak.overrides = { services.flatpak.overrides = {

View file

@ -42,6 +42,9 @@ with pkgs;
gnuradioPackages.fosphor gnuradioPackages.fosphor
gnuradioPackages.lora_sdr gnuradioPackages.lora_sdr
# hax
btlejack
# Build systems. # Build systems.
cmake cmake
gnumake gnumake