diff --git a/modules/home-manager/all-modules.nix b/modules/home-manager/all-modules.nix index f8dc898..b6050f8 100644 --- a/modules/home-manager/all-modules.nix +++ b/modules/home-manager/all-modules.nix @@ -13,7 +13,6 @@ ./gtk.nix ./helix.nix ./hyprland.nix - ./hyprlock.nix ./imv.nix ./k9s.nix ./kitty.nix diff --git a/modules/home-manager/hyprlock.nix b/modules/home-manager/hyprlock.nix deleted file mode 100644 index 37ca432..0000000 --- a/modules/home-manager/hyprlock.nix +++ /dev/null @@ -1,24 +0,0 @@ -{ config, lib, ... }: -let - inherit (config.catppuccin) sources; - cfg = config.programs.hyprlock.catppuccin; - enable = cfg.enable && config.programs.hyprlock.enable; -in -{ - options.programs.hyprlock.catppuccin = lib.ctp.mkCatppuccinOpt { name = "hyprlock"; } // { - accent = lib.ctp.mkAccentOpt "hyprlock"; - }; - - config = lib.mkIf enable { - programs.hyprlock.settings = { - source = [ - "${sources.hyprland}/themes/${cfg.flavor}.conf" - # Define accents in file to ensure they appear before user vars - (builtins.toFile "hyprland-${cfg.accent}-accent.conf" '' - $accent = ''$${cfg.accent} - $accentAlpha = ''$${cfg.accent}Alpha - '') - ]; - }; - }; -}