diff --git a/modules/core/yubikey.nix b/modules/core/yubikey.nix index 2ab5760..e73a4c8 100644 --- a/modules/core/yubikey.nix +++ b/modules/core/yubikey.nix @@ -25,7 +25,7 @@ swaylock.fprintAuth = if (host == "sakura") then true - else if (host == "zinnia") then + else if (host == "april") then true else false; @@ -33,20 +33,32 @@ hyprlock.fprintAuth = if (host == "sakura") then true - else if (host == "zinnia") then + else if (host == "april") then true else false; }; }; - services.fprintd.enable = - if (host == "sakura") then - true - else if (host == "zinnia") then - true - else - false; + services.fprintd = { + enable = + if (host == "sakura") then + true + else if (host == "april") then + true + else + 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; [ yubikey-manager diff --git a/modules/home/hyprland/config.nix b/modules/home/hyprland/config.nix index f91dedb..c3bd28a 100644 --- a/modules/home/hyprland/config.nix +++ b/modules/home/hyprland/config.nix @@ -123,9 +123,9 @@ "foot --server &" "hyprfloat &" "gsettings set org.gnome.desktop.interface color-scheme 'prefer-dark' &" - "nwg-dock-hyprland -l top &" + # "nwg-dock-hyprland -l top &" "nextcloud &" - "hyprland-monitor-attached dock-on-all-monitors dock-on-all-monitors &" + # "hyprland-monitor-attached dock-on-all-monitors dock-on-all-monitors &" "vicinae server &" ]; @@ -148,7 +148,8 @@ # "ALT" = "ALT"; layout = "dwindle"; gaps_in = 0; - gaps_out = "0,0,68,0"; + # gaps_out = "0,0,68,0"; + gaps_out = "0,0,0,0"; border_size = 2; "col.active_border" = "rgb(ffffff) rgb(ffffff) 45deg"; "col.inactive_border" = "0x00000000";