hyprland module consolidation and some refactoring

This commit is contained in:
cnst
2024-10-29 18:33:37 +01:00
parent 9609b2a47a
commit 9f05e45d68
46 changed files with 1115 additions and 806 deletions

View File

@@ -1,5 +1,5 @@
{
inputs,
# inputs,
pkgs,
config,
lib,
@@ -8,8 +8,8 @@
inherit (lib) mkIf mkEnableOption;
cfg = config.home.programs.hyprlock;
hyprlockFlake = inputs.hyprlock.packages.${pkgs.system}.hyprlock;
# hyprlockPkg = pkgs.hyprlock;
# hyprlockFlake = inputs.hyprlock.packages.${pkgs.system}.hyprlock;
hyprlockPkg = pkgs.hyprlock;
in {
options = {
home.programs.hyprlock.enable = mkEnableOption "Enables hyprlock";
@@ -17,7 +17,7 @@ in {
config = mkIf cfg.enable {
programs.hyprlock = {
enable = true;
package = hyprlockFlake;
package = hyprlockPkg;
settings = {
general = {
disable_loading_bar = true;