mirror of
https://github.com/gburd/nix-config.git
synced 2024-11-10 15:36:25 +00:00
31 lines
655 B
Nix
31 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;
|
||
|
}
|