nixbsd-config/system/pearbutter/gui.nix
2024-03-14 06:11:13 +00:00

20 lines
530 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;
};
}