feat(hypr): clean up

This commit is contained in:
2025-10-15 19:38:47 +02:00
parent 8efa649d47
commit 64df7abad5
4 changed files with 76 additions and 69 deletions

View File

@@ -1,24 +1,18 @@
{
inputs,
pkgs,
lib,
osConfig,
clib,
...
}: let
inherit (lib) mkIf mkEnableOption;
inherit (lib) mkIf;
cfg = osConfig.nixos.programs.hyprland;
hyprlockFlake = inputs.hyprlock.packages.${pkgs.system}.hyprlock;
# hyprlockPkg = pkgs.hyprlock;
#
bg = osConfig.settings.theme.background;
inherit (clib.theme.bgs) resolve;
in {
config = mkIf cfg.enable {
programs.hyprlock = {
enable = true;
package = hyprlockFlake;
settings = {
general = {
# disable_loading_bar = true;