Add Flake and Direnv metadata

This commit is contained in:
Ehmry - 2023-03-04 11:52:45 -06:00
parent 39670df5d7
commit 583345110b
4 changed files with 36 additions and 2 deletions

1
.envrc Normal file
View File

@ -0,0 +1 @@
use flake

4
.gitignore vendored
View File

@ -1,4 +1,4 @@
/.tup
*.otf
*.ttf
/.direnv
/.tup

25
flake.lock Normal file
View File

@ -0,0 +1,25 @@
{
"nodes": {
"nixpkgs": {
"locked": {
"lastModified": 1677852945,
"narHash": "sha256-liiVJjkBTuBTAkRW3hrI8MbPD2ImYzwUpa7kvteiKhM=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "f5ffd5787786dde3a8bf648c7a1b5f78c4e01abb",
"type": "github"
},
"original": {
"id": "nixpkgs",
"type": "indirect"
}
},
"root": {
"inputs": {
"nixpkgs": "nixpkgs"
}
}
},
"root": "root",
"version": 7
}

8
flake.nix Normal file
View File

@ -0,0 +1,8 @@
{
description = "development flake";
outputs = { self, nixpkgs }: {
devShell.x86_64-linux = with nixpkgs.legacyPackages.x86_64-linux; mkShell {
packages = [ fontforge bdf2sfd imagemagick tup xorg.bdftopcf ];
};
};
}