mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-29 20:09:17 -05:00
40 lines
1 KiB
Nix
40 lines
1 KiB
Nix
{ pkgs, lib, config, ... }: {
|
|
|
|
imports = [ # Include X settings.
|
|
./fprintdFix.nix
|
|
./tripleBuffering.nix
|
|
];
|
|
|
|
options = {
|
|
desktopConfig.desktopEnvironments.gnome.enable =
|
|
lib.mkEnableOption "Enables GNOME desktop session.";
|
|
};
|
|
|
|
config = lib.mkIf config.desktopConfig.desktopEnvironments.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;
|
|
};
|
|
};
|
|
};
|
|
}
|