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,7 +1,7 @@
{ suites, profiles, pkgs, lib, ... }: {
imports = lib.lists.flatten [
(with suites; [
graphic
base
develop
])
@ -56,6 +56,7 @@
};
};
desktop = {
wm.enable = true;
gaming.enableAll = true;
};
virtualization.enable = true;

View file

@ -1,6 +1,6 @@
{ suites, profiles, pkgs, lib, ... }: {
imports = lib.lists.flatten [
(with suites; [ graphic ])
(with suites; [ base ])
(with profiles; [
networking.wireless
@ -44,6 +44,7 @@
};
};
desktop = {
wm.enable = true;
gaming = {
steam.enable = true;
polymc.enable = true;

View file

@ -1,6 +1,6 @@
{ suites, profiles, pkgs, lib, ... }: {
imports = lib.our.flattenListSet {
suites = with suites; [ graphic develop ];
suites = with suites; [ base develop ];
imports = [ ./hardware-configuration.nix ];
profiles = with profiles;
[
@ -26,6 +26,7 @@
services = {
proxy.enable = true;
};
desktop.wm.enable = true;
};
networking.interfaces.wlan0.useDHCP = true;