aboutsummaryrefslogtreecommitdiff
path: root/modules/profiles/xorg/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/profiles/xorg/default.nix')
-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" ]; })
+ ];
+}