1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-12-14 21:11:08 +01:00

gnome-terminal: add package option (#7048)

This commit is contained in:
awwpotato 2025-05-12 20:17:49 -07:00 committed by GitHub
parent 628d8cfa54
commit 665c49e0c2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -333,6 +333,8 @@ in
programs.gnome-terminal = {
enable = lib.mkEnableOption "Gnome Terminal";
package = lib.mkPackageOption pkgs "gnome-terminal" { nullable = true; };
showMenubar = mkOption {
default = true;
type = types.bool;
@ -378,7 +380,7 @@ in
)
];
home.packages = [ pkgs.gnome-terminal ];
home.packages = lib.mkIf (cfg.package != null) [ cfg.package ];
dconf.settings =
let