From 1dee97c4a41047aec99fe23a9bd854d62183450c Mon Sep 17 00:00:00 2001 From: vorboyvo Date: Wed, 21 Feb 2024 08:42:04 -0500 Subject: [PATCH] Added fprintd (fingerprint reader) support Added Android Debug Bridge Fixed seconds not showing on waybar, with the caveat that now, every second, all the other widgets shift based on the size of the glyphs --- configuration.nix | 8 +++++++- programs/waybar.nix | 1 + todo | 1 + 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/configuration.nix b/configuration.nix index 915e4a9..e23885c 100644 --- a/configuration.nix +++ b/configuration.nix @@ -107,10 +107,13 @@ users.users.alice = { isNormalUser = true; home = "/home/alice"; - extraGroups = [ "wheel" "networkmanager" "video" ]; # Enable 'sudo' for the user. + extraGroups = [ "wheel" "networkmanager" "video" ] ++ [ "adbusers" ]; # Enable 'sudo' for the user. initialPassword = "manysuchcases"; }; home-manager.users.alice = import ./home.nix; + + # Fingerprint reader stuff + services.fprintd.enable = true; # Make sure swaylock works (defined in home.nix) security.pam.services.swaylock = { }; @@ -150,6 +153,9 @@ # Enable tailscale services.tailscale.enable = true; + # Enable adb + programs.adb.enable = true; + # Some programs need SUID wrappers, can be configured further or are # started in user sessions. # programs.mtr.enable = true; diff --git a/programs/waybar.nix b/programs/waybar.nix index acf3d12..8ea08dd 100644 --- a/programs/waybar.nix +++ b/programs/waybar.nix @@ -72,6 +72,7 @@ in spacing = 5; }; clock = { + interval = 1; format = "{:%H:%M:%S %a %F}"; tooltip-format = "{:%Y %B}\n{calendar}"; }; diff --git a/todo b/todo index 66dd3a3..3605544 100644 --- a/todo +++ b/todo @@ -7,3 +7,4 @@ media player daemon dmenu files notifications timeout and other assorted settings add pandoc support for markdown rendering +seconds don't show on waybar lol