dotfiles.nix/home-manager/sajenim/features/desktop/awesome/default.nix

30 lines
631 B
Nix
Raw Normal View History

2024-08-08 09:02:42 +08:00
{pkgs, ...}: let
2024-07-27 08:25:17 +08:00
awesome = pkgs.awesome.overrideAttrs (oa: {
version = "ad0290bc1aac3ec2391aa14784146a53ebf9d1f0";
src = pkgs.fetchFromGitHub {
owner = "awesomeWM";
repo = "awesome";
rev = "ad0290bc1aac3ec2391aa14784146a53ebf9d1f0";
hash = "sha256-uaskBbnX8NgxrprI4UbPfb5cRqdRsJZv0YXXshfsxFU=";
};
2024-08-08 09:02:42 +08:00
patches = [];
2024-07-27 08:25:17 +08:00
postPatch = ''
patchShebangs tests/examples/_postprocess.lua
'';
});
2024-08-08 09:02:42 +08:00
in {
2024-07-27 08:25:17 +08:00
xdg.configFile = {
2024-08-08 09:02:42 +08:00
awesome = {
source = ./config;
recursive = true;
};
2024-07-27 08:25:17 +08:00
};
xsession.windowManager.awesome = {
enable = true;
package = awesome;
};
}