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.
|
# 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.
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -13,15 +13,17 @@
|
||||||
}:
|
}:
|
||||||
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 =
|
||||||
version = "git";
|
pkgs.libfprint.overrideAttrs
|
||||||
|
(prev: {
|
||||||
|
version = "git";
|
||||||
|
|
||||||
src = pkgs.fetchFromGitHub {
|
src = pkgs.fetchFromGitHub {
|
||||||
owner = "ericlinagora";
|
owner = "ericlinagora";
|
||||||
repo = "libfprint-CS9711";
|
repo = "libfprint-CS9711";
|
||||||
rev = "03ace5b20146eb01c77fb3ea63e1909984d6d377";
|
rev = "03ace5b20146eb01c77fb3ea63e1909984d6d377";
|
||||||
sha256 = "sha256-gr3UvFB6D04he/9zawvQIuwfv0B7fEZb6BGiNAbLids=";
|
sha256 = "sha256-gr3UvFB6D04he/9zawvQIuwfv0B7fEZb6BGiNAbLids=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs =
|
nativeBuildInputs =
|
||||||
prev.nativeBuildInputs
|
prev.nativeBuildInputs
|
||||||
|
@ -32,9 +34,19 @@ let
|
||||||
nss
|
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
|
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;
|
||||||
|
|
|
@ -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.
|
||||||
#
|
#
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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 = {
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue