mirror of
https://github.com/ItsDrike/nixdots
synced 2024-11-14 21:57:17 +00:00
22 lines
533 B
Nix
22 lines
533 B
Nix
{inputs, ...}: let
|
|
inherit (inputs) nixpkgs;
|
|
|
|
system = "x86_64-linux";
|
|
pkgs = nixpkgs.legacyPackages.${system};
|
|
in {
|
|
${system} = {
|
|
default = pkgs.mkShell {
|
|
name = "nixdots";
|
|
meta.description = "The default development shell for my NixOS configuration";
|
|
packages = with pkgs; [
|
|
git # flakes require git
|
|
nil # nix ls
|
|
statix # lints and suggestions
|
|
deadnix # clean up unused nix code
|
|
alejandra # nix formatter
|
|
];
|
|
shellHook = "exec $SHELL";
|
|
};
|
|
};
|
|
}
|