flake.nix: init devshell

This commit is contained in:
notohh 2023-04-23 22:22:16 -04:00
parent 3f46ec7a5b
commit d3714543c8
Signed by: notohh
GPG key ID: BD47506D475EE86D

View file

@ -22,7 +22,20 @@
} @ inputs: let } @ inputs: let
system = "x86_64-linux"; system = "x86_64-linux";
lib = nixpkgs.lib; lib = nixpkgs.lib;
pkgs = import nixpkgs {
inherit system;
};
in { in {
devShells.${system}.default = pkgs.mkShell {
name = "snowflake";
packages = with pkgs; [
nil
yaml-language-server
alejandra
git
];
};
formatter.${system} = pkgs.alejandra;
nixosConfigurations = { nixosConfigurations = {
tsuki = lib.nixosSystem { tsuki = lib.nixosSystem {
inherit system; inherit system;