From 0a0f1377a1b863b430e5a4f3bac71829a71ad7c0 Mon Sep 17 00:00:00 2001 From: alejandro-angulo Date: Sun, 17 Aug 2025 22:39:27 -0700 Subject: [PATCH] Remove duplicate password field --- modules/home/programs/hyprlock/default.nix | 34 ++++++---------------- 1 file changed, 9 insertions(+), 25 deletions(-) diff --git a/modules/home/programs/hyprlock/default.nix b/modules/home/programs/hyprlock/default.nix index 66fa3a1..50de37c 100644 --- a/modules/home/programs/hyprlock/default.nix +++ b/modules/home/programs/hyprlock/default.nix @@ -6,7 +6,12 @@ ... }: let - inherit (lib) mkIf mkEnableOption mkOption types; + inherit (lib) + mkIf + mkEnableOption + mkOption + types + ; cfg = config.${namespace}.programs.hyprlock; in @@ -24,7 +29,7 @@ in settings = mkOption { type = types.attrs; - default = {}; + default = { }; description = '' Additional hyprlock configuration settings ''; @@ -35,7 +40,7 @@ in home.packages = [ pkgs.hyprlock ]; catppuccin.hyprlock.enable = true; - + programs.hyprlock = { enable = true; settings = lib.mkMerge [ @@ -75,27 +80,6 @@ in } ]; - # Input field for password - input-field = [ - { - monitor = ""; - size = "300, 50"; - outline_thickness = 2; - dots_size = 0.2; - dots_spacing = 0.2; - dots_center = true; - outer_color = "$lavender"; - inner_color = "$surface0"; - font_color = "$text"; - fade_on_empty = false; - placeholder_text = "Password..."; - hide_input = false; - position = "0, -120"; - halign = "center"; - valign = "center"; - } - ]; - # Time label label = [ { @@ -125,4 +109,4 @@ in ]; }; }; -} \ No newline at end of file +}