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.nix40
1 files changed, 21 insertions, 19 deletions
diff --git a/nix/modules/xserver.nix b/nix/modules/xserver.nix
index 93a8601..52ca559 100644
--- a/nix/modules/xserver.nix
+++ b/nix/modules/xserver.nix
@@ -1,26 +1,28 @@
-{ config, lib, pkgs, ... }:
+{ lib, pkgs, ... }:
{
- enable = lib.mkDefault config.monorepo.profiles.home.hyprland.enable;
- displayManager = {
- startx.enable = true;
- };
+ services.xserver = {
+ enable = lib.mkDefault true;
+ displayManager = {
+ startx.enable = true;
+ };
- windowManager = {
- i3 = {
- enable = true;
- package = pkgs.i3-gaps;
+ windowManager = {
+ i3 = {
+ enable = true;
+ package = pkgs.i3-gaps;
+ };
};
- };
- desktopManager = {
- runXdgAutostartIfNone = true;
- };
+ desktopManager = {
+ runXdgAutostartIfNone = true;
+ };
- xkb = {
- layout = "us";
- variant = "";
- options = "caps:escape";
- };
+ xkb = {
+ layout = "us";
+ variant = "";
+ options = "caps:escape";
+ };
- videoDrivers = config.monorepo.profiles.vars.videoDrivers;
+ videoDrivers = [];
+ };
}