Add new file

This commit is contained in:
Aaron Honeycutt 2023-01-16 19:17:47 +00:00
parent 9f92a08881
commit 8bd63c1b80

35
pantheon.nix Normal file
View file

@ -0,0 +1,35 @@
{ config, pkgs, ... }:
{
# Desktop
services.xserver = {
enable = true;
displayManager.lightdm.greeters.pantheon.enable = false;
displayManager.lightdm.enable = false;
desktopManager.pantheon.enable = true;
};
# Wingpangel and Switchboard plugins
wingpanel-with-indicators.override {
indicators = [
pkgs.some-special-indicator
];
};
switchboard-with-plugs.override {
plugs = [
pkgs.some-special-plug
];
};
# Remove Pantheon packages
environment.pantheon.excludePackagess = (with pkgs; [
pantheon.appcenter # AppCenter as it can't be used on NixOS
]);
# Hacks
systemd.extraConfig = ''
DefaultTimeoutStopSec=10s
DefaultTimeoutStartSec=10s
'';
}