Awesome: Difference between revisions
Denperidge (talk | contribs) Updated example for NixOS 24.05. Using the syntax used before the edit will result in "trace: warning: The option `services.xserver.displayManager.sddm.enable' defined in `/etc/nixos/configuration.nix' has been renamed to `services.displayManager.sddm.enable'. " |
Phanirithvij (talk | contribs) m examples from old wiki |
||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 22: | Line 22: | ||
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 34: | 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 | ||