From 06e55b0ac5b05f7d50af0bc95e3ab60be1b7892c Mon Sep 17 00:00:00 2001 From: Skullheadx Date: Sat, 13 Jun 2026 21:57:47 -0400 Subject: change to fira code --- flake.nix | 52 +++++++++++++++++++++++++--------------------------- 1 file changed, 25 insertions(+), 27 deletions(-) (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix index 2ce2adf..21de19f 100644 --- a/flake.nix +++ b/flake.nix @@ -5,34 +5,32 @@ nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable"; }; - outputs = - { self, nixpkgs }: - let - system = "x86_64-linux"; - pkgs = import nixpkgs { inherit system; }; + outputs = { + self, + nixpkgs, + }: let + system = "x86_64-linux"; + pkgs = import nixpkgs {inherit system;}; + in { + packages.${system}.default = pkgs.stdenv.mkDerivation { + pname = "dwm"; + version = "6.8"; + src = ./.; - in - { - packages.${system}.default = pkgs.stdenv.mkDerivation { - pname = "dwm"; - version = "6.8"; - src = ./.; + nativeBuildInputs = [pkgs.pkg-config]; + buildInputs = with pkgs; [ + libX11 + libxinerama + libxft + libxcb + libxres + fira-code + ]; - nativeBuildInputs = [ pkgs.pkg-config ]; - buildInputs = with pkgs; [ - libX11 - libxinerama - libxft - libxcb - libxres - - ]; - - makeFlags = [ - "PREFIX=$(out)" - "CC:=$(CC)" - ]; - - }; + makeFlags = [ + "PREFIX=$(out)" + "CC:=$(CC)" + ]; }; + }; } -- cgit v1.3.1