From 29a25be45ba7c7dd425719f32eee8bd7e3cef2b0 Mon Sep 17 00:00:00 2001 From: sils Date: Fri, 5 May 2023 17:49:06 +0200 Subject: Feat(flake.nix): Add devShell output --- flake.nix | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix index 7e892be..96fc132 100644 --- a/flake.nix +++ b/flake.nix @@ -13,7 +13,8 @@ home-manager, ... } @ attrs: let - system = "86_64-linux"; + system = "x86_64-linux"; + pkgs = nixpkgs.legacyPackages."${system}"; in { nixosConfigurations.thinklappi = nixpkgs.lib.nixosSystem { inherit system; @@ -29,5 +30,14 @@ } ]; }; + devShells."${system}" = { + default = pkgs.mkShell { + packages = with pkgs; [ + nil + statix + alejandra + ]; + }; + }; }; } -- cgit 1.4.1