nixos-config/modules/gnome/default.nix

18 lines
417 B
Nix
Raw Normal View History

2021-11-21 19:07:12 +01:00
{ 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
];
services.udev.packages = with pkgs; [
gnome3.gnome-settings-daemon
];
services.gnome.gnome-keyring.enable = true;
};
}