Awesome: Difference between revisions
imported>Artturin m add to window managers |
Phanirithvij (talk | contribs) m examples from old wiki |
||
(5 intermediate revisions by 4 users not shown) | |||
Line 11: | Line 11: | ||
... | ... | ||
services.displayManager = { | |||
sddm.enable = true; | |||
defaultSession = "none+awesome"; | |||
}; | |||
services.xserver = { | services.xserver = { | ||
enable = true; | enable = true; | ||
windowManager.awesome = { | windowManager.awesome = { | ||
enable = true; | enable = true; | ||
luaModules = with pkgs.luaPackages; [ | luaModules = with pkgs.luaPackages; [ | ||
# add any lua packages required by your configuration here | |||
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 | ||
]; | ]; | ||
}; | }; | ||
}; | }; | ||
Line 35: | Line 34: | ||
}} | }} | ||
Similar configuration using | Similar configuration using [[Home Manager]]. | ||
Reference: https://github.com/rycee/home-manager/blob/master/modules/services/window-managers/awesome.nix#blob-path | Reference: https://github.com/rycee/home-manager/blob/master/modules/services/window-managers/awesome.nix#blob-path | ||
Line 51: | Line 50: | ||
[[Category:Window managers]] | [[Category:Window managers]] | ||
[[Category:Applications]] |