2024-01-01 11:40:51 +00:00
|
|
|
{
|
|
|
|
inputs = {
|
|
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.11";
|
|
|
|
};
|
|
|
|
|
|
|
|
outputs = inputs @ {
|
|
|
|
nixpkgs,
|
|
|
|
flake-parts,
|
|
|
|
...
|
|
|
|
}:
|
|
|
|
flake-parts.lib.mkFlake {inherit inputs;} {
|
2024-02-27 11:29:01 +00:00
|
|
|
systems = ["x86_64-linux" "aarch64-linux" "x86_64-darwin" "aarch64-darwin"];
|
2024-01-01 11:40:51 +00:00
|
|
|
perSystem = {pkgs, ...}: {
|
|
|
|
devShells.default = with pkgs;
|
|
|
|
mkShell {
|
|
|
|
packages = [
|
|
|
|
nodejs
|
|
|
|
yarn-berry
|
|
|
|
python3
|
2024-01-22 14:18:29 +00:00
|
|
|
|
|
|
|
figlet
|
2024-01-01 11:40:51 +00:00
|
|
|
];
|
2024-01-22 14:18:29 +00:00
|
|
|
shellHook = ''
|
2024-01-22 14:19:37 +00:00
|
|
|
export PATH="$PWD/node_modules/.bin:$PATH"
|
2024-01-22 14:18:29 +00:00
|
|
|
if [ "''${DISABLE_DEVSHELL_BANNER:-}" != true ]; then
|
|
|
|
figlet "Welcome to Nimbus-GUI"
|
|
|
|
fi
|
|
|
|
'';
|
2024-01-01 11:40:51 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|