21 lines
558 B
Nix
21 lines
558 B
Nix
{ pkgs, lib, ... }:
|
|
{
|
|
environment.etc.machine-id.text = "4e9ae0575ebb420e8031ff82db7a37fb";
|
|
|
|
boot.extraModulePackages = with pkgs.freebsd; [
|
|
drm-kmod
|
|
drm-kmod-firmware
|
|
];
|
|
# Intel kmod firmware is unfree, allow all unfree firmware
|
|
nixpkgs.config.allowUnfreePredicate =
|
|
pkg: ((pkg.meta or { }).sourceProvenance or [ ]) == [ lib.sourceTypes.binaryFirmware ];
|
|
|
|
services.dbus.enable = true;
|
|
services.xserver = {
|
|
enable = true;
|
|
desktopManager.xfce.enable = true;
|
|
exportConfiguration = true;
|
|
libinput.enable = true;
|
|
};
|
|
}
|