nixbsd-config/system/pearbutter/gui.nix

24 lines
633 B
Nix
Raw Normal View History

2024-03-14 05:56:22 +00:00
{ 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;
displayManager.lightdm.enable = true;
displayManager.defaultSession = "xfce";
desktopManager.xfce = {
enable = true;
};
exportConfiguration = true;
};
}