nixos-config/modules/gnome/default.nix

28 lines
533 B
Nix
Raw Normal View History

{ pkgs
, config
, lib
, ...
2022-03-01 22:19:03 +01:00
}:
with lib; let
cfg = config.eboskma.gnome;
in
{
2021-11-21 19:07:12 +01:00
options.eboskma.gnome.enable = mkEnableOption "activate gnome support settings";
config = mkIf (cfg.enable) {
environment.systemPackages = with pkgs; [
gnomeExtensions.appindicator
2021-11-25 17:18:13 +01:00
papirus-icon-theme
2021-11-21 19:07:12 +01:00
];
services.udev.packages = with pkgs; [
gnome3.gnome-settings-daemon
];
services.gnome.gnome-keyring.enable = true;
2021-11-25 17:18:13 +01:00
programs = {
evince.enable = true;
file-roller.enable = true;
};
2021-11-21 19:07:12 +01:00
};
}