hm-modules: initial helix support
This commit is contained in:
parent
973e27e41d
commit
1b2f5d6094
3 changed files with 15 additions and 0 deletions
0
homeManagerModules/cliPrograms/helix/config.toml
Normal file
0
homeManagerModules/cliPrograms/helix/config.toml
Normal file
13
homeManagerModules/cliPrograms/helix/helix.nix
Normal file
13
homeManagerModules/cliPrograms/helix/helix.nix
Normal file
|
|
@ -0,0 +1,13 @@
|
||||||
|
{ config, lib, ... }:
|
||||||
|
{
|
||||||
|
options.settings.programs.helix = {
|
||||||
|
enable = lib.mkEnableOption "enables the helix modal editor";
|
||||||
|
};
|
||||||
|
|
||||||
|
config = lib.mkIf config.settings.programs.helix.enable {
|
||||||
|
programs.helix = {
|
||||||
|
enable = true;
|
||||||
|
settings = builtins.fromTOML (builtins.readFile ./config.toml);
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
@ -14,6 +14,7 @@
|
||||||
|
|
||||||
./cliPrograms/starship/starship.nix
|
./cliPrograms/starship/starship.nix
|
||||||
./cliPrograms/fastfetch/fastfetch.nix
|
./cliPrograms/fastfetch/fastfetch.nix
|
||||||
|
./cliPrograms/helix/helix.nix
|
||||||
|
|
||||||
./desktopPrograms/firefox.nix
|
./desktopPrograms/firefox.nix
|
||||||
./desktopPrograms/amberol.nix
|
./desktopPrograms/amberol.nix
|
||||||
|
|
@ -47,6 +48,7 @@
|
||||||
git.enable = lib.mkDefault true;
|
git.enable = lib.mkDefault true;
|
||||||
starship.enable = lib.mkDefault false;
|
starship.enable = lib.mkDefault false;
|
||||||
fastfetch.enable = lib.mkDefault true;
|
fastfetch.enable = lib.mkDefault true;
|
||||||
|
helix.enable = lib.mkDefault false;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue