nixos-config/modules/gnome/default.nix

30 lines
570 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-settings-daemon ];
services.gnome = {
gnome-keyring.enable = true;
at-spi2-core.enable = true;
};
programs = {
evince.enable = true;
file-roller.enable = true;
};
};
}