start to add sway config

This commit is contained in:
Noah Masur 2022-09-30 11:42:13 +00:00
parent 5561c85b43
commit cc0325b431

View File

@ -0,0 +1,20 @@
{ 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
}