refactor homeModules
This commit is contained in:
parent
0603a85579
commit
4a870d4a18
26 changed files with 126 additions and 65 deletions
24
homeModules/helix.nix
Normal file
24
homeModules/helix.nix
Normal 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";
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue