nix: fix hm module

changed cfg from config.services.hyprlock to config.programs.hyprlock
This commit is contained in:
jacekpoz 2024-02-20 16:36:47 +01:00 committed by Mihai Fufezan
parent 6ff808cebf
commit e1aac7e135

View file

@ -9,7 +9,7 @@ self: {
inherit (lib.modules) mkIf; inherit (lib.modules) mkIf;
inherit (lib.options) mkOption mkEnableOption; inherit (lib.options) mkOption mkEnableOption;
cfg = config.services.hyprlock; cfg = config.programs.hyprlock;
in { in {
options.programs.hyprlock = { options.programs.hyprlock = {
enable = mkEnableOption "Hyprlock, Hyprland's GPU-accelerated lock screen utility"; enable = mkEnableOption "Hyprlock, Hyprland's GPU-accelerated lock screen utility";