nixos/modules/desktop/awesome/default.nix
Jake Hillion 6bdfc37391
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
awesome: add default rc.lua
2023-03-12 19:32:16 +00:00

14 lines
298 B
Nix

{ config, pkgs, lib, ... }:
{
services.xserver = {
enable = true;
windowManager.awesome.enable = true;
};
home-manager.users.jake.xdg.configFile."awesome/rc.lua" = {
source = ./rc.lua;
onChange = with pkgs; "echo 'awesome.restart()' | ${awesome}/bin/awesome-client";
};
}