nixcfg/modules/sway.nix

17 lines
423 B
Nix
Raw Normal View History

2024-03-23 18:01:46 -04:00
{ config, pkgs, ... }:
{
2024-03-24 19:44:09 -04:00
imports = [ # Include X settings.
./desktop.nix
];
2024-03-23 18:01:46 -04:00
2024-03-24 19:44:09 -04:00
services.xserver.displayManager = { sessionPackages = [ pkgs.sway ]; };
2024-03-23 18:01:46 -04:00
2024-03-24 19:44:09 -04:00
programs.light.enable = true; # Brightness and volume control.
programs.dconf.enable = true;
services.xserver.libinput.enable = true;
services.gnome.gnome-keyring.enable = true;
xdg.portal.wlr.enable = true;
xdg.portal.config.common.default = "*";
}