456e599f91
Adds a Module for the Wayfire Compositor. Also allows managing the wf-shell configuration.
25 lines
570 B
Nix
25 lines
570 B
Nix
{ pkgs, ... }: {
|
|
wayland.windowManager.wayfire = {
|
|
enable = true;
|
|
package = null;
|
|
wf-shell = {
|
|
enable = true;
|
|
package = pkgs.mkStubPackage { };
|
|
settings = {
|
|
panel = {
|
|
widgets_left = "menu spacing4 launchers window-list";
|
|
autohide = true;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
nmt.script = ''
|
|
wfShellConfig=home-files/.config/wf-shell.ini
|
|
|
|
assertFileExists "$wfShellConfig"
|
|
|
|
normalizedConfig=$(normalizeStorePaths "$wfShellConfig")
|
|
assertFileContent "$normalizedConfig" "${./wf-shell.ini}"
|
|
'';
|
|
}
|