Skip to content

Commit 808b8f2

Browse files
committed
feat: add myhelix in flake input
1 parent 5ceb074 commit 808b8f2

File tree

3 files changed

+112
-16
lines changed

3 files changed

+112
-16
lines changed

flake.lock

+106-14
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flake.nix

+4-1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@
2121
inputs.nixpkgs.follows = "nixpkgs";
2222
};
2323

24+
myhelix.url = "github:ymgyt/helix/explorer";
25+
2426
# secrets management
2527
ragenix.url = "github:yaxitech/ragenix";
2628
};
@@ -32,6 +34,7 @@
3234
darwin,
3335
home-manager,
3436
stylix,
37+
myhelix,
3538
ragenix,
3639
...
3740
}:
@@ -54,7 +57,7 @@
5457
# substritute "x86_64-linux" => "linux"
5558
os = builtins.elemAt (builtins.match ".*-(.*)" system) 0;
5659
specialArgs = {
57-
inherit ragenix;
60+
inherit ragenix myhelix;
5861
pkgs-unstable = import nixpkgs-unstable {
5962
inherit system;
6063
config.allowUnfreePredicate =

home/base/editor/helix/default.nix

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1-
{ ... }:
1+
{ myhelix, ... }:
22
{
33
programs.helix = {
44
# Currently use my fork
55
enable = false;
66
};
7+
home.packages = [ myhelix ];
78
xdg.configFile."helix/config.toml".source = ./config.toml;
89
xdg.configFile."helix/languages.toml".source = ./languages.toml;
910
xdg.configFile."helix/ignore".source = ./ignore;

0 commit comments

Comments
 (0)