Awesome: Difference between revisions

From NixOS Wiki
Jump to: navigation, search
No edit summary
Add awesome-wm-widgets to example
 
Line 20: Line 20:
                     luarocks # is the package manager for Lua modules
                     luarocks # is the package manager for Lua modules
                     luadbi-mysql # Database abstraction layer
                     luadbi-mysql # Database abstraction layer
                    awesome-wm-widgets # Community collection of widgets
                 ];
                 ];



Latest revision as of 17:00, 29 June 2025

awesome is a highly configurable, next generation framework window manager for X. It is very fast, extensible and licensed under the GNU GPLv2 license.

Enabling

To enable awesomeWM set services.xserver.windowManager.awesome.enable to true. For example:

/etc/nixos/configuration.nix
{ config, pkgs, ... }: 


  ...
    services={
        xserver = {
            enable = true;

            windowManager.awesome = {
                enable = true;
                luaModules = with pkgs.luaPackages; [
                    luarocks # is the package manager for Lua modules
                    luadbi-mysql # Database abstraction layer
                    awesome-wm-widgets # Community collection of widgets
                ];

            };
        };

        displayManager = {
            sddm.enable = true;
            defaultSession = "none+awesome";
        };
    };
  ...
}


Similar configuration using home-manager

Reference: https://github.com/rycee/home-manager/blob/master/modules/services/window-managers/awesome.nix#blob-path


References