aboutsummaryrefslogtreecommitdiff
path: root/modules/profiles/xorg/default.nix
blob: fce668a530a3d3a1e47e20b9e2a15d03625ee58a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
{
  pkgs,
  ...
}:
{
  hardware.graphics.enable32Bit = true;

  services.xserver = {
    enable = true;
    xkb.layout = "us";
    displayManager.lightdm.enable = true;
    windowManager.bspwm.enable = true;
  };

  services.displayManager.autoLogin = {
    enable = true;
    user = "tdback";
  };

  services.flatpak.enable = true;
  xdg.portal = {
    enable = true;
    config.common.default = "*";
    extraPortals = with pkgs; [ xdg-desktop-portal-gtk ];
  };

  environment.systemPackages = with pkgs.xorg; [
    libX11
    xset
  ];

  fonts.packages = with pkgs; [
    iosevka-comfy.comfy-motion-fixed
    (nerdfonts.override { fonts = [ "JetBrainsMono" ]; })
  ];
}