nix-config/nixos/_mixins/optional/pantheon.nix

31 lines
655 B
Nix
Raw Normal View History

{
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;
}