nixos-config/modules/gnome/default.nix
2021-11-21 19:07:12 +01:00

17 lines
417 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
];
services.udev.packages = with pkgs; [
gnome3.gnome-settings-daemon
];
services.gnome.gnome-keyring.enable = true;
};
}