flocon/modules/gnome.nix

43 lines
1 KiB
Nix
Raw Normal View History

2024-09-05 14:11:32 +00:00
{ config, lib, pkgs, ... }:
let
cfg = config.modules.gnome;
in
{
options = {
modules.gnome = {
enable = lib.mkEnableOption "Enable Gnome";
};
};
config = lib.mkIf cfg.enable {
2024-08-25 19:58:12 +00:00
services.xserver = {
enable = true;
displayManager.gdm.enable = true;
desktopManager.gnome = {
enable = true;
2024-09-05 14:11:32 +00:00
extraGSettingsOverridePackages = [ pkgs.mutter ];
2024-08-25 19:58:12 +00:00
extraGSettingsOverrides = ''
[org.gnome.mutter]
experimental-features=['scale-monitor-framebuffer']
'';
};
};
environment.gnome.excludePackages =
2024-08-26 23:23:41 +00:00
(with pkgs; [ gnome-console gnome-photos gnome-music gnome-tour iagno hitori atomix gnome-contacts gnome-initial-setup gedit cheese tali epiphany geary yelp ]);
2024-08-25 19:58:12 +00:00
environment.systemPackages = with pkgs; [
gnome-tweaks
2024-08-27 21:53:40 +00:00
gnome-power-manager
2024-08-25 19:58:12 +00:00
];
stylix.fonts = {
sansSerif = {
package = pkgs.inter;
name = "Intel Variable";
};
serif = config.stylix.fonts.sansSerif;
sizes.desktop = 9;
};
2024-08-25 19:58:12 +00:00
};
}
2024-09-05 14:11:32 +00:00