diff options
author | tdback <tyler@tdback.net> | 2025-01-23 21:20:24 -0500 |
---|---|---|
committer | tdback <tyler@tdback.net> | 2025-01-23 21:20:24 -0500 |
commit | ebd0ac7a3aa6c681b6317da24b72d64962913f79 (patch) | |
tree | e93bf069c70efc0ca5903ade55fba09cab6eeaf7 /modules/profiles | |
parent | 522ca13e808d4f38ca8422138d2f4092923fc12a (diff) |
Move display server back to xorg
Diffstat (limited to 'modules/profiles')
-rw-r--r-- | modules/profiles/xorg/default.nix | 36 |
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" ]; }) + ]; +} |