feat: massive refactor
This commit is contained in:
@@ -1,13 +1,14 @@
|
||||
{ config, lib, ... }:
|
||||
lib.my.makeHomeProgramConfig {
|
||||
inherit config;
|
||||
programName = "alacritty";
|
||||
optionPath = [
|
||||
"desktop"
|
||||
"terminal"
|
||||
"alacritty"
|
||||
];
|
||||
extraConfig = {
|
||||
let
|
||||
cfg = config.my.desktop.terminal.alacritty;
|
||||
in
|
||||
{
|
||||
options.my.desktop.terminal.alacritty = {
|
||||
enable = lib.mkEnableOption "alacritty";
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
my.hm.programs.alacritty.enable = true;
|
||||
my.hm.programs.alacritty.settings = {
|
||||
general.import = [ ./tokyonight-storm.toml ];
|
||||
cursor.style = {
|
||||
|
||||
Reference in New Issue
Block a user