2024-03-28 16:13:46 -04:00
|
|
|
{ pkgs, lib, config, ... }: {
|
|
|
|
|
|
|
|
imports = [ # Include X settings.
|
2024-03-28 16:40:23 -04:00
|
|
|
./fprintdFix.nix
|
|
|
|
./tripleBuffering.nix
|
2024-03-28 16:13:46 -04:00
|
|
|
];
|
|
|
|
|
|
|
|
options = {
|
2024-03-28 16:40:23 -04:00
|
|
|
desktopConfig.gnome.enable =
|
2024-03-28 16:13:46 -04:00
|
|
|
lib.mkEnableOption "Enables GNOME desktop session.";
|
|
|
|
};
|
|
|
|
|
|
|
|
config = lib.mkIf config.desktopConfig.gnome.enable {
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
|
|
gnomeExtensions.appindicator
|
|
|
|
gnomeExtensions.blur-my-shell
|
|
|
|
gnomeExtensions.gsconnect
|
|
|
|
gnomeExtensions.light-shell
|
|
|
|
gnomeExtensions.night-theme-switcher
|
|
|
|
gnomeExtensions.noannoyance-fork
|
|
|
|
gnomeExtensions.tailscale-status
|
|
|
|
gnomeExtensions.tiling-assistant
|
|
|
|
];
|
|
|
|
|
|
|
|
# Enable keyring support for KDE apps in GNOME.
|
|
|
|
security.pam.services.gdm.enableKwallet = true;
|
|
|
|
|
|
|
|
# Enable GNOME and GDM.
|
|
|
|
services = {
|
|
|
|
gnome.tracker-miners.enable = true;
|
|
|
|
udev.packages = with pkgs; [ gnome.gnome-settings-daemon ];
|
|
|
|
xserver = {
|
|
|
|
desktopManager.gnome.enable = true;
|
|
|
|
displayManager.gdm.enable = true;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2024-03-28 16:40:23 -04:00
|
|
|
}
|