mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-23 16:15:38 +00:00
26 lines
425 B
Nix
26 lines
425 B
Nix
{ config, lib, ... }: {
|
|
|
|
config = lib.mkIf config.gui.enable {
|
|
|
|
programs.sway = {
|
|
enable = true;
|
|
package = null; # Use home-manager Sway instead
|
|
};
|
|
|
|
};
|
|
|
|
home-manager.users.${config.user} = {
|
|
|
|
wayland.windowManager.sway = {
|
|
enable = true;
|
|
config =
|
|
config.home-manager.users.${config.user}.xsession.windowManager.i3.config;
|
|
};
|
|
|
|
};
|
|
|
|
# TODO: swaybg
|
|
# TODO: swaylock
|
|
|
|
}
|