Evie Litherland-Smith
6dd70aa58e
Made swayfx the standard, added nixos system-level module to enable and autostart with greetd; Includes fix for missing session that should be fixed in later nixpkgs versions Fixed formatting for waybar workspaces module, wasn't showing active or empty workspaces correctly
20 lines
396 B
Nix
20 lines
396 B
Nix
{
|
|
config,
|
|
pkgs,
|
|
...
|
|
}: {
|
|
programs.sway = {
|
|
enable = true;
|
|
package =
|
|
pkgs.swayfx.overrideAttrs
|
|
(old: {passthru.providedSessions = ["sway"];});
|
|
wrapperFeatures.gtk = true;
|
|
};
|
|
services.greetd.settings = let
|
|
command = "${config.programs.sway.package}/bin/sway";
|
|
in {
|
|
default_session = {inherit command;};
|
|
initial_session = {inherit command;};
|
|
};
|
|
}
|