{ config, lib, pkgs, ... }:
let
graphical = config.this.graphical;
power = config.this.system.power;
in with lib; {
config = mkIf graphical.enable {
home-manager.users.james = {
home.packages = with pkgs.gnome;
[
cheese
file-roller
gnome-bluetooth
gnome-books
gnome-boxes
gnome-calendar
gnome-characters
gnome-color-manager
gnome-common
gnome-contacts
gnome-control-center
gnome-dictionary
gnome-font-viewer
gnome-keyring
gnome-maps
gnome-music
iagno
libgnome-keyring
nautilus
pomodoro
seahorse
sushi
] ++ optionals (power.enable) [ gnome-power-manager ];
};
}