From d3714543c84f828165ad31480c76a6edbd14acd5 Mon Sep 17 00:00:00 2001 From: notohh Date: Sun, 23 Apr 2023 22:22:16 -0400 Subject: [PATCH] flake.nix: init devshell --- flake.nix | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/flake.nix b/flake.nix index b9a2a0d..7e574a5 100755 --- a/flake.nix +++ b/flake.nix @@ -22,7 +22,20 @@ } @ inputs: let system = "x86_64-linux"; lib = nixpkgs.lib; + pkgs = import nixpkgs { + inherit system; + }; in { + devShells.${system}.default = pkgs.mkShell { + name = "snowflake"; + packages = with pkgs; [ + nil + yaml-language-server + alejandra + git + ]; + }; + formatter.${system} = pkgs.alejandra; nixosConfigurations = { tsuki = lib.nixosSystem { inherit system;