Awesome: Difference between revisions
imported>Nix m change to Applications subcategory |
Phanirithvij (talk | contribs) m examples from old wiki |
||
| (3 intermediate revisions by 3 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 | ||