inline devshell in flake.nix

This commit is contained in:
xunuwu 2025-06-06 10:15:09 +02:00
parent 2919bf0d14
commit b1a2c5a905
Signed by: xun
SSH key fingerprint: SHA256:Uot/1WoAjWAeqLOHA5vYy4phhVydsH7jCPmBjaPZfgI
2 changed files with 11 additions and 13 deletions

View file

@ -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;
}; };
}; };

View file

@ -1,12 +0,0 @@
{pkgs, ...}: {
devShells.default = pkgs.mkShell {
name = "dots";
packages = with pkgs; [
alejandra
git
just
home-manager
sops
];
};
}