forked from extern/nix-config
27deb6bb43
lightdm is only enabled if no other display managers are chosen. See ./nixos/modules/services/x11/xserver.nix in nixpkgs to verify this.
25 lines
419 B
Nix
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 ];
|
|
};
|
|
}
|