mirror of
https://github.com/nix-community/home-manager.git
synced 2025-03-31 04:04:32 +00:00
23 lines
468 B
Nix
23 lines
468 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
{
|
|
config = {
|
|
programs.glab = {
|
|
enable = true;
|
|
settings.git_protocol = "ssh";
|
|
settings.editor = "vim";
|
|
};
|
|
|
|
test.stubs.glab = { };
|
|
|
|
nmt.script = ''
|
|
assertFileExists home-files/.config/glab-cli/config.yml
|
|
assertFileContent home-files/.config/glab-cli/config.yml ${
|
|
builtins.toFile "config-file.yml" ''
|
|
git_protocol: ssh
|
|
editor: vim
|
|
''
|
|
}
|
|
'';
|
|
};
|
|
}
|