system/modules/home-manager/programs/editors/gedit.nix

9 lines
226 B
Nix

{ config, pkgs, lib, ... }:
{
options.local.programs.editors.gedit.enable = lib.mkEnableOption "gnome gedit";
config.home.packages = lib.optional
config.local.programs.editors.gedit.enable
pkgs.unstable.gedit;
}