dot

NixOS dotfiles
git clone https://git.echoz.io/dot.git
Log | Files | Refs

hyprlock.nix (826B)


      1 {
      2   style,
      3   user,
      4   ...
      5 }:
      6 {
      7   security.pam.services.hyprlock = { };
      8 
      9   home-manager.users.${user}.programs.hyprlock = {
     10     enable = true;
     11     settings = {
     12       general = {
     13         hide_cursor = true;
     14         ignore_empty_input = true;
     15       };
     16       background = {
     17         path = "screenshot";
     18         blur_passes = 3;
     19         blur_size = 9;
     20       };
     21 
     22       input-field = {
     23         size = "500, 64";
     24         position = "0, 0";
     25         monitor = "";
     26         dots_center = false;
     27         fade_on_empty = true;
     28         font_color = "rgba(255, 255, 255, 0.2)";
     29         inner_color = style.colors.bg.rgba;
     30         check_color = "rgba(0,0,255,0.2)";
     31         fail_color = "rgba(255,0,0,0.2)";
     32         fail_text = "";
     33         outline_thickness = 0;
     34         placeholder_text = "";
     35         shadow_passes = 0;
     36       };
     37     };
     38   };
     39 }