nixos-combined-flake/modules/home-manager/desktop/awesome/awesomewm.nix

37 lines
662 B
Nix

args @ {
pkgs,
lib,
config,
...
}:
lib.mkIf config.desktop.awesome.enable {
home = {
packages = with pkgs; [
mate.mate-polkit
];
sessionVariables = {
QT_QPA_PLATFORMTHEME = "qt5ct";
};
file = {
awesomewm-rc = {
target = ".config/awesome/rc.lua";
text = import ./config/rc.nix args;
};
awesomewm-theme = {
target = ".config/awesome/theme.lua";
text = import ./config/theme.nix args;
};
};
};
xsession = {
windowManager.awesome = {
enable = true;
luaModules = with pkgs.luaPackages; [
luarocks
vicious
];
};
};
}