Skip to content

Commit

Permalink
Install devenv
Browse files Browse the repository at this point in the history
  • Loading branch information
sestrella committed Nov 24, 2023
1 parent 2dd30c5 commit d25ea99
Show file tree
Hide file tree
Showing 3 changed files with 217 additions and 4 deletions.
213 changes: 211 additions & 2 deletions flake.lock

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

5 changes: 4 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
description = "Home Manager configuration of Sebastian Estrella";

inputs = {
devenv.url = "github:cachix/devenv";
# Specify the source of Home Manager and Nixpkgs.
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
home-manager.url = "github:nix-community/home-manager";
Expand All @@ -10,7 +11,7 @@
vim-plugins.inputs.nixpkgs.follows = "nixpkgs";
};

outputs = { nixpkgs, home-manager, vim-plugins, ... }: {
outputs = { devenv, nixpkgs, home-manager, vim-plugins, ... }: {
homeConfigurations = {
runner = home-manager.lib.homeManagerConfiguration {
pkgs = nixpkgs.legacyPackages.x86_64-linux;
Expand All @@ -22,6 +23,7 @@
# Optionally use extraSpecialArgs
# to pass through arguments to home.nix
extraSpecialArgs = {
devenv = devenv.packages.x86_64-linux.default;
vim-plugins-overlay = vim-plugins.overlays.x86_64-linux.default;
};
};
Expand All @@ -35,6 +37,7 @@
# Optionally use extraSpecialArgs
# to pass through arguments to home.nix
extraSpecialArgs = {
devenv = devenv.packages.aarch64-darwin.default;
vim-plugins-overlay = vim-plugins.overlays.aarch64-darwin.default;
};
};
Expand Down
3 changes: 2 additions & 1 deletion home.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ config, pkgs, vim-plugins-overlay, ... }:
{ config, pkgs, devenv, vim-plugins-overlay, ... }:

{
# This value determines the Home Manager release that your configuration is
Expand All @@ -21,6 +21,7 @@

# https://github.com/unpluggedcoder/awesome-rust-tools
home.packages = [
devenv
pkgs.aws-vault
pkgs.awscli2
pkgs.bottom
Expand Down

0 comments on commit d25ea99

Please sign in to comment.