feat(direnv): init
This commit is contained in:
parent
b42ae8ec15
commit
93b802ae01
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 ]; };
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue