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