This commit is contained in:
41666 2024-04-20 16:48:53 -04:00
commit 228cce8450
5 changed files with 53 additions and 0 deletions

1
.envrc Normal file
View file

@ -0,0 +1 @@
use flake;

2
.gitattributes vendored Normal file
View file

@ -0,0 +1,2 @@
*.png !text !filter !merge !diff
*.gif !text !filter !merge !diff

2
.gitignore vendored Normal file
View file

@ -0,0 +1,2 @@
.direnv
target

27
flake.lock generated Normal file
View file

@ -0,0 +1,27 @@
{
"nodes": {
"nixpkgs": {
"locked": {
"lastModified": 1713596654,
"narHash": "sha256-LJbHQQ5aX1LVth2ST+Kkse/DRzgxlVhTL1rxthvyhZc=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "fd16bb6d3bcca96039b11aa52038fafeb6e4f4be",
"type": "github"
},
"original": {
"owner": "nixos",
"ref": "nixpkgs-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"root": {
"inputs": {
"nixpkgs": "nixpkgs"
}
}
},
"root": "root",
"version": 7
}

21
flake.nix Normal file
View file

@ -0,0 +1,21 @@
{
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
};
outputs = inputs@{ nixpkgs, ... }: let
systems = [ "aarch64-linux" "x86_64-linux" ];
forAllSystems = nixpkgs.lib.genAttrs systems;
in {
devShells = forAllSystems (system: let
pkgs = nixpkgs.legacyPackages.${system};
in {
default = pkgs.mkShell {
buildInputs = with pkgs; [
bun
just
];
};
});
};
}