nixos-config/modules/themes/a-happy-gnome/default.nix

26 lines
705 B
Nix
Raw Normal View History

{ config, options, lib, pkgs, ... }:
let
cfg = config.modules.themes.a-happy-gnome;
in
{
2021-11-25 13:45:48 +00:00
options.modules.themes.a-happy-gnome.enable = lib.mkEnableOption "Enables my configuration of GNOME Shell.";
config = lib.mkIf cfg.enable {
services.xserver.enable = true;
services.xserver.displayManager.gdm.enable = true;
services.xserver.desktopManager.gnome.enable = true;
2021-11-25 13:45:48 +00:00
# I'm pretty sure this is already done but just to make sure.
services.gnome.chrome-gnome-shell.enable = true;
2021-11-25 13:45:48 +00:00
environment.systemPackages = with pkgs; [
2021-11-27 08:04:01 +00:00
# It is required for custom menus in extensions.
gnome-menus
gnomeExtensions.arcmenu
gnomeExtensions.x11-gestures
];
};
}