nix-configs/pantheon.nix
2023-01-16 19:42:13 +00:00

20 lines
387 B
Nix

{ config, pkgs, ... }:
{
# Desktop
services.xserver = {
enable = true;
desktopManager.pantheon.enable = true;
};
# Remove Pantheon packages
environment.pantheon.excludePackages = (with pkgs; [
pantheon.appcenter # AppCenter as it can't be used on NixOS
]);
# Hacks
systemd.extraConfig = ''
DefaultTimeoutStopSec=10s
DefaultTimeoutStartSec=10s
'';
}