nixos-config/modules/gnome/default.nix

27 lines
538 B
Nix

{
pkgs,
config,
lib,
...
}:
with lib; let
cfg = config.eboskma.gnome;
in {
options.eboskma.gnome.enable = mkEnableOption "activate gnome support settings";
config = mkIf (cfg.enable) {
environment.systemPackages = with pkgs; [
gnomeExtensions.appindicator
papirus-icon-theme
];
services.udev.packages = with pkgs; [
gnome3.gnome-settings-daemon
];
services.gnome.gnome-keyring.enable = true;
programs = {
evince.enable = true;
file-roller.enable = true;
};
};
}