dotfiles/modules/nixos/graphical/sway.nix

21 lines
366 B
Nix
Raw Normal View History

2022-09-30 11:42:13 +00:00
{ config, pkgs, lib, ... }: {
config = lib.mkIf config.gui.enable {
programs.sway.enable = true;
};
home-manager.users.${config.user} = {
wayland.windowManager.sway.enable = true;
wayland.windowManager.sway.config =
config.home-manager.users.${config.user}.xsession.windowManager.i3.config;
};
# TODO: swaybg
# TODO: swaylock
}