feat(direnv): init
This commit is contained in:
parent
b42ae8ec15
commit
93b802ae01
3 changed files with 20 additions and 0 deletions
1
direnv/.envrc
Normal file
1
direnv/.envrc
Normal file
|
@ -0,0 +1 @@
|
|||
use flake
|
15
direnv/flake.nix
Normal file
15
direnv/flake.nix
Normal file
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
description = "An empty devshell with direnv support";
|
||||
|
||||
inputs.nixpkgs.url = "github:auxolotl/nixpkgs/nixpkgs-unstable";
|
||||
|
||||
outputs =
|
||||
{ nixpkgs, ... }:
|
||||
let
|
||||
system = "x86_64-linux";
|
||||
pkgs = nixpkgs.legacyPackages.${system};
|
||||
in
|
||||
{
|
||||
devShells.${system}.default = pkgs.mkShell { packages = [ pkgs.hello ]; };
|
||||
};
|
||||
}
|
|
@ -30,6 +30,10 @@
|
|||
path = ./darwin;
|
||||
description = "";
|
||||
};
|
||||
direnv = {
|
||||
path = ./direnv;
|
||||
description = "An empty devshell with direnv support";
|
||||
};
|
||||
};
|
||||
formatter = forAllSystems (pkgs: pkgs.nixfmt-rfc-style);
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue