module: add wm
This module sets up window managers, and the common xorg configuration between them.
This commit is contained in:
parent
336ffb949b
commit
48e0ba19c2
8 changed files with 54 additions and 37 deletions
|
@ -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
|
||||
];
|
||||
}
|
|
@ -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;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue