1
0
forked from extern/nix-config
donovanglover-nix-config/modules/hyprland.nix
Donovan Glover 27deb6bb43
nix: Simplify
lightdm is only enabled if no other display managers are chosen.

See ./nixos/modules/services/x11/xserver.nix in nixpkgs to verify this.
2023-07-04 16:41:31 -04:00

25 lines
419 B
Nix

{ pkgs, ... }:
{
programs.hyprland.enable = true;
i18n.inputMethod.enabled = "fcitx5";
i18n.inputMethod.fcitx5.addons = [ pkgs.fcitx5-mozc ];
security.pam.services.swaylock = { };
services.udisks2 = {
enable = true;
mountOnMedia = true;
};
environment.systemPackages = with pkgs; [
polkit_gnome
];
services.xserver = {
enable = true;
excludePackages = [ pkgs.xterm ];
};
}