diff --git a/hosts/nixos-laptop/home-manager/default.nix b/hosts/nixos-laptop/home-manager/default.nix index c4e6f3d2..f61960fc 100644 --- a/hosts/nixos-laptop/home-manager/default.nix +++ b/hosts/nixos-laptop/home-manager/default.nix @@ -4,7 +4,7 @@ ./waybar-conf.nix ./rofi-conf.nix ./mako-conf.nix - ./swaylock + ./swaylock-conf.nix # ./gnome-dconf.nix ]; } \ No newline at end of file diff --git a/hosts/nixos-laptop/home-manager/swaylock-conf.nix b/hosts/nixos-laptop/home-manager/swaylock-conf.nix new file mode 100644 index 00000000..814c6123 --- /dev/null +++ b/hosts/nixos-laptop/home-manager/swaylock-conf.nix @@ -0,0 +1,13 @@ +{ pkgs, config, ... }: { + programs.swaylock = { + enable = true; + settings = { + color = "808080"; + font-size = 24; + show-failed-attempts = true; + effect-blur = "20x2"; + screenshots = true; + + } + } +} \ No newline at end of file diff --git a/hosts/nixos-laptop/home-manager/swaylock/config b/hosts/nixos-laptop/home-manager/swaylock/config deleted file mode 100644 index 4a716d86..00000000 --- a/hosts/nixos-laptop/home-manager/swaylock/config +++ /dev/null @@ -1,51 +0,0 @@ -ignore-empty-password -font=Jetbrains Mono Regular Nerd - -clock -timestr=%R -datestr=%a, %e of %B - -screenshots - -fade-in=0.2 - -effect-blur=20x2 -#effect-greyscale -effect-scale=0.3 - -indicator -indicator-radius=240 -indicator-thickness=20 -indicator-caps-lock - -key-hl-color=880033 - -separator-color=00000000 - -inside-color=00000099 -inside-clear-color=ffd20400 -inside-caps-lock-color=009ddc00 -inside-ver-color=d9d8d800 -inside-wrong-color=ee2e2400 - -ring-color=231f20D9 -ring-clear-color=231f20D9 -ring-caps-lock-color=231f20D9 -ring-ver-color=231f20D9 -ring-wrong-color=231f20D9 - -line-color=00000000 -line-clear-color=ffd204FF -line-caps-lock-color=009ddcFF -line-ver-color=d9d8d8FF -line-wrong-color=ee2e24FF - -text-clear-color=ffd20400 -text-ver-color=d9d8d800 -text-wrong-color=ee2e2400 - -bs-hl-color=ee2e24FF -caps-lock-key-hl-color=ffd204FF -caps-lock-bs-hl-color=ee2e24FF -disable-caps-lock-text -text-caps-lock-color=009ddc \ No newline at end of file diff --git a/hosts/nixos-laptop/home-manager/swaylock/default.nix b/hosts/nixos-laptop/home-manager/swaylock/default.nix deleted file mode 100644 index f2ad78c3..00000000 --- a/hosts/nixos-laptop/home-manager/swaylock/default.nix +++ /dev/null @@ -1,3 +0,0 @@ -{ ... }: { - home.file.".config/swaylock/config".path = ./config; -} \ No newline at end of file