mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-12-06 21:17:14 -06:00
20 lines
414 B
Nix
Executable file
20 lines
414 B
Nix
Executable file
{
|
|
pkgs,
|
|
flake,
|
|
lib,
|
|
...
|
|
}:
|
|
{
|
|
programs.helix =
|
|
let
|
|
configPath = ./config;
|
|
settingsPath = import (configPath + /settings.nix);
|
|
languagesPath = import (configPath + /languages.nix) { inherit pkgs lib flake; };
|
|
in
|
|
{
|
|
enable = true;
|
|
package = flake.inputs.helix.packages.${pkgs.system}.default;
|
|
languages = languagesPath;
|
|
settings = settingsPath;
|
|
};
|
|
}
|