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
|
} @ 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;
|
||||||
|
|
Loading…
Reference in a new issue