mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2026-03-19 15:50:30 +01:00
feat: zinnia -> april as zinnia has been retired and april has replaced her
This commit is contained in:
parent
4eb284309e
commit
296bae25a7
1 changed files with 21 additions and 9 deletions
|
|
@ -25,7 +25,7 @@
|
||||||
swaylock.fprintAuth =
|
swaylock.fprintAuth =
|
||||||
if (host == "sakura") then
|
if (host == "sakura") then
|
||||||
true
|
true
|
||||||
else if (host == "zinnia") then
|
else if (host == "april") then
|
||||||
true
|
true
|
||||||
else
|
else
|
||||||
false;
|
false;
|
||||||
|
|
@ -33,20 +33,32 @@
|
||||||
hyprlock.fprintAuth =
|
hyprlock.fprintAuth =
|
||||||
if (host == "sakura") then
|
if (host == "sakura") then
|
||||||
true
|
true
|
||||||
else if (host == "zinnia") then
|
else if (host == "april") then
|
||||||
true
|
true
|
||||||
else
|
else
|
||||||
false;
|
false;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
services.fprintd.enable =
|
services.fprintd = {
|
||||||
|
enable =
|
||||||
if (host == "sakura") then
|
if (host == "sakura") then
|
||||||
true
|
true
|
||||||
else if (host == "zinnia") then
|
else if (host == "april") then
|
||||||
true
|
true
|
||||||
else
|
else
|
||||||
false;
|
false;
|
||||||
|
#tod.enable = if (config.services.fprintd.enable) then true else false;
|
||||||
|
#tod.driver =
|
||||||
|
# if (host == "sakura") then
|
||||||
|
# pkgs.libfprint-2-tod1-goodix
|
||||||
|
# else if (host == "april") then
|
||||||
|
# pkgs.libfprint-2-tod1-vfs0090
|
||||||
|
# else
|
||||||
|
# null;
|
||||||
|
};
|
||||||
|
|
||||||
|
nixpkgs.config.allowBroken = true;
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
yubikey-manager
|
yubikey-manager
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue