From ebd0ac7a3aa6c681b6317da24b72d64962913f79 Mon Sep 17 00:00:00 2001 From: tdback Date: Thu, 23 Jan 2025 21:20:24 -0500 Subject: Move display server back to xorg --- modules/profiles/xorg/default.nix | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 modules/profiles/xorg/default.nix (limited to 'modules') diff --git a/modules/profiles/xorg/default.nix b/modules/profiles/xorg/default.nix new file mode 100644 index 0000000..fce668a --- /dev/null +++ b/modules/profiles/xorg/default.nix @@ -0,0 +1,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" ]; }) + ]; +} -- cgit v1.2.3