flake.nix: init devshell
This commit is contained in:
parent
3f46ec7a5b
commit
d3714543c8
1 changed files with 13 additions and 0 deletions
13
flake.nix
13
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;
|
||||
|
|
Loading…
Reference in a new issue