mirror of
https://gitlab.com/ahoneybun/nix-configs.git
synced 2025-05-13 03:33:00 -06:00
Add new file
This commit is contained in:
parent
9f92a08881
commit
8bd63c1b80
1 changed files with 35 additions and 0 deletions
35
pantheon.nix
Normal file
35
pantheon.nix
Normal 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
|
||||
'';
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue