summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorTom Barrett <tom@tombarrett.xyz>2023-11-04 12:11:20 +0100
committerTom Barrett <tom@tombarrett.xyz>2023-11-04 12:13:35 +0100
commitd5266d79c2d1af716b94b20a057d77c846677827 (patch)
treed8f2205ac7752db8dee3ba543e4300d5ecbd32db /flake.nix
parent211964d56ee00a7d46e251cbc150afb79138ae37 (diff)
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix20
1 files changed, 20 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix
new file mode 100644
index 0000000..5f7de49
--- /dev/null
+++ b/flake.nix
@@ -0,0 +1,20 @@
+{
+ outputs = {
+ self,
+ nixpkgs,
+ }:
+ with nixpkgs.legacyPackages.x86_64-linux; {
+ packages.x86_64-linux.default = stdenv.mkDerivation {
+ name = "st";
+ src = ./.;
+ buildInputs = [
+ xorg.libX11.dev
+ xorg.libXft
+ xorg.libXinerama
+ pkg-config
+ fontconfig
+ ];
+ };
+ formatter.x86_64-linux = alejandra;
+ };
+}