My Nix Configuration
1{ config, lib, ... }: 2let 3 cfg = config.py.programs.helix; 4in 5{ 6 options.py.programs.helix.enable = lib.mkEnableOption "helix editor"; 7 config.catppuccin.helix = { 8 inherit (cfg) enable; 9 useItalics = cfg.enable; 10 }; 11 config.programs.helix = lib.mkIf cfg.enable { 12 enable = true; 13 settings = import ./settings.nix; 14 }; 15}