mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-26 21:15:37 +00:00
start to add sway config
This commit is contained in:
parent
5561c85b43
commit
cc0325b431
20
modules/nixos/graphical/sway.nix
Normal file
20
modules/nixos/graphical/sway.nix
Normal 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
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user