refactor homeModules

This commit is contained in:
Romain Paquet 2026-01-27 14:36:11 +01:00
parent 0603a85579
commit 4a870d4a18
26 changed files with 126 additions and 65 deletions

24
homeModules/helix.nix Normal file
View file

@ -0,0 +1,24 @@
{
self,
config,
pkgs,
...
}:
{
imports = [
self.homeModules.dotfiles
];
home.packages = [ pkgs.helix ];
programs.helix = {
enable = true;
defaultEditor = true;
};
home.sessionVariables.EDITOR = "hx";
xdg.configFile."helix/config.toml".source = "${config.dotfiles.path}/.config/helix/config.toml";
xdg.configFile."helix/languages.toml".source =
"${config.dotfiles.path}/.config/helix/languages.toml";
}