pearbutter is gui now

This commit is contained in:
Artemis Tosini 2024-03-14 05:56:22 +00:00
parent 7ef59b9e6b
commit d846221174
Signed by: artemist
SSH key fingerprint: SHA256:EsuWCwx6fjxxExxf65rX+ocQJJAdw4R1KarpFue6Uwc
2 changed files with 24 additions and 0 deletions

View file

@ -3,6 +3,7 @@
imports = [ imports = [
../../sets/attic.nix ../../sets/attic.nix
./boot-config.nix ./boot-config.nix
./gui.nix
]; ];
users.users.artemis = { users.users.artemis = {

23
system/pearbutter/gui.nix Normal file
View file

@ -0,0 +1,23 @@
{ 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;
};
}