aboutsummaryrefslogtreecommitdiff
path: root/nix/modules/xserver.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nix/modules/xserver.nix')
-rw-r--r--nix/modules/xserver.nix26
1 files changed, 26 insertions, 0 deletions
diff --git a/nix/modules/xserver.nix b/nix/modules/xserver.nix
new file mode 100644
index 0000000..93a8601
--- /dev/null
+++ b/nix/modules/xserver.nix
@@ -0,0 +1,26 @@
+{ config, lib, pkgs, ... }:
+{
+ enable = lib.mkDefault config.monorepo.profiles.home.hyprland.enable;
+ displayManager = {
+ startx.enable = true;
+ };
+
+ windowManager = {
+ i3 = {
+ enable = true;
+ package = pkgs.i3-gaps;
+ };
+ };
+
+ desktopManager = {
+ runXdgAutostartIfNone = true;
+ };
+
+ xkb = {
+ layout = "us";
+ variant = "";
+ options = "caps:escape";
+ };
+
+ videoDrivers = config.monorepo.profiles.vars.videoDrivers;
+}