This module sets up window managers, and the common xorg configuration between them.
33 lines
707 B
Nix
33 lines
707 B
Nix
{ suites, profiles, pkgs, lib, ... }: {
|
|
imports = lib.our.flattenListSet {
|
|
suites = with suites; [ base develop ];
|
|
imports = [ ./hardware-configuration.nix ];
|
|
profiles = with profiles;
|
|
[
|
|
networking.wireless
|
|
|
|
btrfs
|
|
];
|
|
};
|
|
|
|
system.stateVersion = "21.11";
|
|
|
|
powerManagement.resumeCommands = "${pkgs.kmod}/bin/rmod atkbd; ${pkgs.kmod}/bin/modprobe atkbd reset=1";
|
|
|
|
modules = {
|
|
boot = {
|
|
grub.enable = true;
|
|
};
|
|
hardware = {
|
|
form.laptop = true;
|
|
gpu.amdgpu = true;
|
|
wireless.enable = true;
|
|
};
|
|
services = {
|
|
proxy.enable = true;
|
|
};
|
|
desktop.wm.enable = true;
|
|
};
|
|
|
|
networking.interfaces.wlan0.useDHCP = true;
|
|
}
|