24 lines
633 B
Nix
24 lines
633 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;
|
||
|
displayManager.lightdm.enable = true;
|
||
|
displayManager.defaultSession = "xfce";
|
||
|
desktopManager.xfce = {
|
||
|
enable = true;
|
||
|
};
|
||
|
exportConfiguration = true;
|
||
|
};
|
||
|
}
|