aboutsummaryrefslogtreecommitdiff
path: root/modules/profiles
diff options
context:
space:
mode:
authortdback <tyler@tdback.net>2025-01-23 21:20:24 -0500
committertdback <tyler@tdback.net>2025-01-23 21:20:24 -0500
commitebd0ac7a3aa6c681b6317da24b72d64962913f79 (patch)
treee93bf069c70efc0ca5903ade55fba09cab6eeaf7 /modules/profiles
parent522ca13e808d4f38ca8422138d2f4092923fc12a (diff)
Move display server back to xorg
Diffstat (limited to 'modules/profiles')
-rw-r--r--modules/profiles/xorg/default.nix36
1 files changed, 36 insertions, 0 deletions
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" ]; })
+ ];
+}