nix-config/nixos/_mixins/optional/pantheon.nix
Greg Burd 86706b1fc7 wimpy-ified
inspired by wimpysworld nix-config
2023-09-25 14:05:07 -04:00

30 lines
655 B
Nix

{
services = {
xserver = {
enable = true;
desktopManager.pantheon = {
enable = true;
};
displayManager.lightdm = {
enable = true;
greeters.pantheon.enable = true;
};
};
pantheon = {
apps.enable = true;
};
geoclue2.enable = true;
};
programs = {
pantheon-tweaks.enable = true;
};
# Fix shutdown taking a long time
# https://gist.github.com/worldofpeace/27fcdcb111ddf58ba1227bf63501a5fe
systemd.extraConfig = ''
DefaultTimeoutStopSec=10s
DefaultTimeoutStartSec=10s
'';
services.avahi.enable = false;
networking.networkmanager.enable = false;
}