Skip to content

Commit

Permalink
install helix from flake
Browse files Browse the repository at this point in the history
  • Loading branch information
the-mikedavis committed Mar 11, 2022
1 parent 1029d82 commit d2911d5
Show file tree
Hide file tree
Showing 3 changed files with 207 additions and 0 deletions.
201 changes: 201 additions & 0 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@
home-manager.inputs.nixpkgs.follows = "nixpkgs";

impermanence.url = "github:nix-community/impermanence/master";

helix.url = "github:helix-editor/helix/master";
helix.inputs.nixpkgs.follows = "nixpkgs";
};

outputs = inputs@{ nixpkgs, home-manager, impermanence, ... }:
Expand All @@ -20,6 +23,7 @@

pkgs-unstable = import inputs.unstable { config.allowUnfree = true; system = system; };
pkgs-edge = import inputs.bleeding-edge { config.allowUnfree = true; system = system; };
helix = inputs.helix.defaultPackage.${system};

nixconfig = {
nixpkgs = {
Expand All @@ -30,6 +34,7 @@
overlays = [
(import ./overlays)
(_final: _prev: {
inherit helix;
unstable = pkgs-unstable;
edge = pkgs-edge;
})
Expand Down
1 change: 1 addition & 0 deletions home.nix
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ in
fastmod
hexyl
cachix
helix
];

home.file.".aspell.conf".text = "data-dir ${pkgs.aspell}/lib/aspell";
Expand Down

0 comments on commit d2911d5

Please sign in to comment.