nixos-config/modules/gnome/default.nix

31 lines
576 B
Nix
Raw Normal View History

2024-02-05 11:46:52 +01:00
{
pkgs,
config,
lib,
...
2022-03-01 22:19:03 +01:00
}:
2024-02-05 11:46:52 +01:00
with lib;
let
2022-03-01 22:19:03 +01:00
cfg = config.eboskma.gnome;
in
{
2021-11-21 19:07:12 +01:00
options.eboskma.gnome.enable = mkEnableOption "activate gnome support settings";
2022-05-03 18:17:38 +02:00
config = mkIf cfg.enable {
2021-11-21 19:07:12 +01:00
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
];
2024-02-05 11:46:52 +01:00
services.udev.packages = with pkgs; [ gnome.gnome-settings-daemon ];
services.gnome = {
gnome-keyring.enable = true;
at-spi2-core.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
};
}