inline devshell in flake.nix
This commit is contained in:
parent
2919bf0d14
commit
b1a2c5a905
2 changed files with 11 additions and 13 deletions
12
flake.nix
12
flake.nix
|
@ -23,10 +23,20 @@
|
||||||
|
|
||||||
perSystem = {pkgs, ...}: {
|
perSystem = {pkgs, ...}: {
|
||||||
imports = [
|
imports = [
|
||||||
./shells
|
|
||||||
./pkgs
|
./pkgs
|
||||||
];
|
];
|
||||||
|
|
||||||
|
devShells.default = pkgs.mkShell {
|
||||||
|
name = "dots";
|
||||||
|
packages = with pkgs; [
|
||||||
|
alejandra
|
||||||
|
git
|
||||||
|
just
|
||||||
|
home-manager
|
||||||
|
sops
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
formatter = pkgs.alejandra;
|
formatter = pkgs.alejandra;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,12 +0,0 @@
|
||||||
{pkgs, ...}: {
|
|
||||||
devShells.default = pkgs.mkShell {
|
|
||||||
name = "dots";
|
|
||||||
packages = with pkgs; [
|
|
||||||
alejandra
|
|
||||||
git
|
|
||||||
just
|
|
||||||
home-manager
|
|
||||||
sops
|
|
||||||
];
|
|
||||||
};
|
|
||||||
}
|
|
Loading…
Add table
Add a link
Reference in a new issue