gitui: add testbed (#2206)
Closes: https://github.com/nix-community/stylix/issues/1157 Link: https://github.com/nix-community/stylix/pull/2206 Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
This commit is contained in:
parent
fa45bf2d70
commit
801843d10e
1 changed files with 17 additions and 0 deletions
17
modules/gitui/testbeds/gitui.nix
Normal file
17
modules/gitui/testbeds/gitui.nix
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
{ lib, pkgs, ... }:
|
||||
{
|
||||
stylix.testbed.ui.command = {
|
||||
text = ''
|
||||
${lib.getExe pkgs.git} init
|
||||
${lib.getExe pkgs.gitui}
|
||||
'';
|
||||
useTerminal = true;
|
||||
};
|
||||
|
||||
home-manager.sharedModules = lib.singleton {
|
||||
programs = {
|
||||
git.enable = true;
|
||||
gitui.enable = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue