diff --git a/flake.lock b/flake.lock index 423b0de..1a51fa4 100644 --- a/flake.lock +++ b/flake.lock @@ -313,11 +313,11 @@ }, "nixpkgs-stable": { "locked": { - "lastModified": 1711460390, - "narHash": "sha256-akSgjDZL6pVHEfSE6sz1DNSXuYX6hq+P/1Z5IoYWs7E=", + "lastModified": 1711668574, + "narHash": "sha256-u1dfs0ASQIEr1icTVrsKwg2xToIpn7ZXxW3RHfHxshg=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "44733514b72e732bd49f5511bd0203dea9b9a434", + "rev": "219951b495fc2eac67b1456824cc1ec1fd2ee659", "type": "github" }, "original": { @@ -329,11 +329,11 @@ }, "nixpkgs_2": { "locked": { - "lastModified": 1711523803, - "narHash": "sha256-UKcYiHWHQynzj6CN/vTcix4yd1eCu1uFdsuarupdCQQ=", + "lastModified": 1711703276, + "narHash": "sha256-iMUFArF0WCatKK6RzfUJknjem0H9m4KgorO/p3Dopkk=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "2726f127c15a4cc9810843b96cad73c7eb39e443", + "rev": "d8fe5e6c92d0d190646fb9f1056741a229980089", "type": "github" }, "original": { diff --git a/flake.nix b/flake.nix index 0014700..f6a2b05 100644 --- a/flake.nix +++ b/flake.nix @@ -26,7 +26,7 @@ locale = "en_US.UTF-8"; # Locale diskoConfig = "luks-btrfs-subvolumes"; # Select the disko config that was used to partition drive hwConfig = "oryp7"; # Select the hardware config from hardware directory - desktop = "awesome"; # Selected window manager or desktop environment + desktop = "dwm"; # Selected window manager or desktop environment desktopType = "x11"; # x11 or wayland }; diff --git a/system/gui/dwm.nix b/system/gui/dwm.nix index 39e34d3..5e981be 100644 --- a/system/gui/dwm.nix +++ b/system/gui/dwm.nix @@ -44,5 +44,21 @@ arandr autorandr unclutter-xfixes + (polybar.overrideAttrs (finalAttrs: previousAttrs: { + pname = previousAttrs.pname + "-dwm-module"; + version = "3.5.2"; + + src = fetchFromGitHub { + owner = "mihirlad55"; + repo = "polybar-dwm-module"; + rev = "0c3e139ac54e081c06ef60548927e679d80d4297"; + hash = "sha256-ZL7yDGGiZFGgVXZXS+d3xUDhOOd5lp2mo2ipFN92mIY="; + fetchSubmodules = true; + }; + + buildInputs = previousAttrs.buildInputs ++ [ + jsoncpp + ]; + })) ]; }