From 55542f1ce3f313419ebe6a7fa9a7629898e6ce2e Mon Sep 17 00:00:00 2001 From: Raghuram Subramani Date: Mon, 11 Mar 2024 22:16:24 +0530 Subject: dwm --- machines/x/configuration.nix | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'machines/x/configuration.nix') diff --git a/machines/x/configuration.nix b/machines/x/configuration.nix index f3e60e4..46aa51d 100644 --- a/machines/x/configuration.nix +++ b/machines/x/configuration.nix @@ -42,6 +42,25 @@ home-manager.users.compromyse = import ./home.nix; + environment.systemPackages = with pkgs; [ + xorg.xorgserver + xorg.xf86inputevdev + xorg.xf86inputsynaptics + xorg.xf86inputlibinput + ]; + + services.xserver.enable = true; + services.xserver.displayManager.startx.enable = true; + services.xserver.windowManager.dwm.enable = true; + services.xserver.windowManager.dwm.package = pkgs.dwm.overrideAttrs { + src = pkgs.fetchFromGitHub { + owner = "compromyse"; + repo = "dwm"; + rev = "master"; + hash = "sha256-bYj9u0EBfpTcpJHzeaCp3mm6tSy9dz40y+X15R0WbUs="; + }; + }; + networking.extraHosts = '' 127.0.0.1 download.labsmartlis.local -- cgit v1.2.3