summaryrefslogtreecommitdiffstats
path: root/flake.nix
diff options
context:
space:
mode:
authorSkullheadx <admonty1@protonmail.com>2026-06-13 21:57:47 -0400
committerSkullheadx <admonty1@protonmail.com>2026-06-13 21:57:47 -0400
commit06e55b0ac5b05f7d50af0bc95e3ab60be1b7892c (patch)
treec07961741a55b3a8b705878b28074c4cd784aba7 /flake.nix
parentchange keybinds (diff)
downloaddwm-06e55b0ac5b05f7d50af0bc95e3ab60be1b7892c.tar.gz
dwm-06e55b0ac5b05f7d50af0bc95e3ab60be1b7892c.tar.bz2
dwm-06e55b0ac5b05f7d50af0bc95e3ab60be1b7892c.zip
change to fira codeHEADmaster
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix52
1 files changed, 25 insertions, 27 deletions
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)"
+ ];
};
+ };
}