22 lines
613 B
Nix
22 lines
613 B
Nix
{ lib, ... }:
|
|
{
|
|
environment.etc.machine-id.text = "4e9ae0575ebb420e8031ff82db7a37fb";
|
|
|
|
# Intel kmod firmware is unfree, allow all unfree firmware
|
|
nixpkgs.config.allowUnfreePredicate =
|
|
pkg: ((pkg.meta or { }).sourceProvenance or [ ]) == [ lib.sourceTypes.binaryFirmware ];
|
|
|
|
hardware.opengl.enable = true;
|
|
programs.sway.enable = true;
|
|
services.dbus.enable = true;
|
|
|
|
services.xserver = {
|
|
enable = true;
|
|
desktopManager.xfce.enable = true;
|
|
displayManager.defaultSession = "xfce";
|
|
displayManager.lightdm.enable = true;
|
|
exportConfiguration = true;
|
|
libinput.enable = true;
|
|
};
|
|
}
|