pearbutter is gui now
This commit is contained in:
parent
7ef59b9e6b
commit
d846221174
|
@ -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
23
system/pearbutter/gui.nix
Normal 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;
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue