nimbus-gui/flake.nix

33 lines
757 B
Nix
Raw Normal View History

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;} {
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 = ''
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
};
};
};
}