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

pgcli: init (#7072)

This commit is contained in:
Nick DeGroot 2025-05-15 20:50:09 -07:00 committed by GitHub
parent 098e365dd8
commit a1a72d18ee
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 109 additions and 0 deletions

View file

@ -0,0 +1,23 @@
{ config, ... }:
let
expected = builtins.toFile "config" ''
[main]
vi=true
'';
in
{
programs.pgcli = {
enable = true;
package = config.lib.test.mkStubPackage { };
settings = {
main.vi = true;
};
};
nmt.script = ''
assertFileExists home-files/.config/pgcli/config
assertFileContent home-files/.config/pgcli/config '${expected}'
'';
}