From 9eef068b8d17f188e80f4af64db9e81386267daa Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Fri, 24 May 2024 12:17:20 +0100 Subject: [PATCH] Add devShell and .envrc to activate via direnv --- .envrc | 1 + flake.nix | 6 ++++++ 2 files changed, 7 insertions(+) create mode 100644 .envrc diff --git a/.envrc b/.envrc new file mode 100644 index 00000000..3550a30f --- /dev/null +++ b/.envrc @@ -0,0 +1 @@ +use flake diff --git a/flake.nix b/flake.nix index 539fc35b..aa1b0296 100644 --- a/flake.nix +++ b/flake.nix @@ -78,6 +78,12 @@ }) ]; in { + devShells.x86_64-linux.default = let + pkgs = import nixpkgs {system = "x86_64-linux";}; + in + pkgs.mkShellNoCC { + packages = [pkgs.nil]; + }; nixosConfigurations = { ## Server Legion = nixpkgs.lib.nixosSystem rec {