module: add wm

This module sets up window managers, and the common xorg configuration
between them.
This commit is contained in:
Infinidoge 2022-05-19 13:40:34 -04:00
parent 336ffb949b
commit 48e0ba19c2
8 changed files with 54 additions and 37 deletions

View file

@ -1,16 +0,0 @@
{ pkgs, ... }: {
imports = [ ./xserver.nix ];
services.xserver.windowManager.qtile.enable = true;
info.env.wm = "qtile";
environment.systemPackages = with pkgs; [
xsecurelock
];
fonts.fonts = with pkgs; [
powerline-fonts
ubuntu_font_family
];
}

View file

@ -1,17 +0,0 @@
{ pkgs, lib, ... }: {
services.xserver = {
enable = true;
displayManager.lightdm.enable = true;
};
environment.systemPackages = with pkgs; lib.flatten [
(with xorg; [
xwininfo
xprop
])
blugon
];
info.monitors = lib.mkDefault 1;
}