(systems/puzzlevision) add support for fingerprint scanner 04f3:0c00

This commit is contained in:
Jo 2025-01-20 18:23:20 +01:00
parent 65ef160a32
commit 26915606dd
4 changed files with 52 additions and 5 deletions

View file

@ -54,6 +54,24 @@
"url": "https://flakehub.com/f/catppuccin/nix/1.2.%2A.tar.gz" "url": "https://flakehub.com/f/catppuccin/nix/1.2.%2A.tar.gz"
} }
}, },
"elanmoc2": {
"inputs": {
"nixpkgs": "nixpkgs"
},
"locked": {
"lastModified": 1731852525,
"narHash": "sha256-t3wgLs3I38Ijc/JuxUKuVGZFF3eeYeFNibps5wbSsv4=",
"owner": "sandptel",
"repo": "elanmoc2",
"rev": "8b049aa1f184b34b7f6829472b10ea8453bd5806",
"type": "github"
},
"original": {
"owner": "sandptel",
"repo": "elanmoc2",
"type": "github"
}
},
"flake-compat": { "flake-compat": {
"flake": false, "flake": false,
"locked": { "locked": {
@ -305,16 +323,16 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1736241350, "lastModified": 1737062831,
"narHash": "sha256-CHd7yhaDigUuJyDeX0SADbTM9FXfiWaeNyY34FL1wQU=", "narHash": "sha256-Tbk1MZbtV2s5aG+iM99U8FqwxU/YNArMcWAv6clcsBc=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "8c9fd3e564728e90829ee7dbac6edc972971cd0f", "rev": "5df43628fdf08d642be8ba5b3625a6c70731c19c",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "nixos", "owner": "nixos",
"ref": "nixpkgs-unstable", "ref": "nixos-unstable",
"repo": "nixpkgs", "repo": "nixpkgs",
"type": "github" "type": "github"
} }
@ -367,6 +385,22 @@
"type": "github" "type": "github"
} }
}, },
"nixpkgs_2": {
"locked": {
"lastModified": 1736241350,
"narHash": "sha256-CHd7yhaDigUuJyDeX0SADbTM9FXfiWaeNyY34FL1wQU=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "8c9fd3e564728e90829ee7dbac6edc972971cd0f",
"type": "github"
},
"original": {
"owner": "nixos",
"ref": "nixpkgs-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nuscht-search": { "nuscht-search": {
"inputs": { "inputs": {
"flake-utils": "flake-utils", "flake-utils": "flake-utils",
@ -393,11 +427,12 @@
"root": { "root": {
"inputs": { "inputs": {
"catppuccin": "catppuccin", "catppuccin": "catppuccin",
"elanmoc2": "elanmoc2",
"ghostty": "ghostty", "ghostty": "ghostty",
"hardware": "hardware", "hardware": "hardware",
"home-manager": "home-manager_2", "home-manager": "home-manager_2",
"nix-flatpak": "nix-flatpak", "nix-flatpak": "nix-flatpak",
"nixpkgs": "nixpkgs", "nixpkgs": "nixpkgs_2",
"snowfall-lib": "snowfall-lib", "snowfall-lib": "snowfall-lib",
"sops-nix": "sops-nix", "sops-nix": "sops-nix",
"zen-browser": "zen-browser" "zen-browser": "zen-browser"

View file

@ -17,6 +17,12 @@
# Hardware specific tweaks and performance optimizations. # Hardware specific tweaks and performance optimizations.
hardware = { url = "github:NixOS/nixos-hardware/master"; }; hardware = { url = "github:NixOS/nixos-hardware/master"; };
# Support for ElanTech fingerprint scanner 04f3:0c00
elanmoc2 = {
url = "github:sandptel/elanmoc2";
inputs.nixpkgs.follows = "nixpkgs";
};
# Catppuccin theme nix configuration. # Catppuccin theme nix configuration.
catppuccin = { url = "github:catppuccin/nix"; inputs.nixpkgs.follows = "nixpkgs"; }; catppuccin = { url = "github:catppuccin/nix"; inputs.nixpkgs.follows = "nixpkgs"; };

View file

@ -38,6 +38,8 @@
g4music g4music
bitwarden-desktop bitwarden-desktop
youtube-music youtube-music
ungoogled-chromium
firefox
### Development ### Development
avra avra

View file

@ -13,6 +13,7 @@
inputs.hardware.nixosModules.common-pc-laptop inputs.hardware.nixosModules.common-pc-laptop
inputs.hardware.nixosModules.common-cpu-intel inputs.hardware.nixosModules.common-cpu-intel
inputs.hardware.nixosModules.common-pc-laptop-ssd inputs.hardware.nixosModules.common-pc-laptop-ssd
inputs.elanmoc2.nixosModules.elanmoc2
]; ];
# Configure Sops # Configure Sops
@ -46,6 +47,9 @@
# Enable printing. # Enable printing.
services.printing.enable = true; services.printing.enable = true;
# Enable fingerprint support for ElanTech scanner 04f3:0c00
services.fprintd.elanmoc2.enable=true;
# Enable docker # Enable docker
virtualisation.docker.enable = true; virtualisation.docker.enable = true;