nixcfg/modules/sway.nix

19 lines
456 B
Nix
Raw Normal View History

2024-03-23 18:01:46 -04:00
{ config, pkgs, ... }:
{
imports =
[ # Include X settings.
./desktop.nix
];
services.xserver.displayManager = {
sessionPackages = [ pkgs.sway ];
};
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 = "*";
}