mirror of
https://github.com/nix-community/home-manager.git
synced 2025-12-16 14:01:08 +01:00
gnome-terminal: add package option (#7048)
This commit is contained in:
parent
628d8cfa54
commit
665c49e0c2
1 changed files with 3 additions and 1 deletions
|
|
@ -333,6 +333,8 @@ in
|
||||||
programs.gnome-terminal = {
|
programs.gnome-terminal = {
|
||||||
enable = lib.mkEnableOption "Gnome Terminal";
|
enable = lib.mkEnableOption "Gnome Terminal";
|
||||||
|
|
||||||
|
package = lib.mkPackageOption pkgs "gnome-terminal" { nullable = true; };
|
||||||
|
|
||||||
showMenubar = mkOption {
|
showMenubar = mkOption {
|
||||||
default = true;
|
default = true;
|
||||||
type = types.bool;
|
type = types.bool;
|
||||||
|
|
@ -378,7 +380,7 @@ in
|
||||||
)
|
)
|
||||||
];
|
];
|
||||||
|
|
||||||
home.packages = [ pkgs.gnome-terminal ];
|
home.packages = lib.mkIf (cfg.package != null) [ cfg.package ];
|
||||||
|
|
||||||
dconf.settings =
|
dconf.settings =
|
||||||
let
|
let
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue