nixos-config/modules/gnome/default.nix
2022-09-28 08:11:25 +02:00

27 lines
530 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; [
gnome.gnome-settings-daemon
];
services.gnome.gnome-keyring.enable = true;
programs = {
evince.enable = true;
file-roller.enable = true;
};
};
}