nixos-configs/devices/wim/config/ags/flake.nix
matt1432 0db8872da1
All checks were successful
Discord / discord commits (push) Has been skipped
feat(ags): add scss auto update and prep for TS
2024-01-11 12:07:18 -05:00

32 lines
640 B
Nix

{
inputs.main.url = "path:../../../../.";
outputs = {
self,
main,
}: let
inherit (main.inputs) nixpkgs;
supportedSystems = ["x86_64-linux"];
perSystem = attrs:
nixpkgs.lib.genAttrs supportedSystems (system: let
pkgs = nixpkgs.legacyPackages.${system};
in
attrs system pkgs);
in {
devShells = perSystem (_: pkgs: {
default = pkgs.mkShell {
nativeBuildInputs = with pkgs; [
nix
git
alejandra
typescript
bun
nodejs_18
];
};
});
formatter = perSystem (_: pkgs: pkgs.alejandra);
};
}