1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-03-10 18:57:22 +00:00
home-manager/tests/modules/programs/earthly/earthly-settings.nix
Hoang Nguyen 2b382e499a
earthly: init module (#6265)
Earthly is a build configuration framework utilizing buildkit and
Dockerfile-like syntax for simplicity and fast builds.
2025-02-22 01:04:35 -06:00

21 lines
386 B
Nix

{
programs.earthly = {
enable = true;
settings = {
global.disable_analytics = true;
git."github.com" = {
auth = "ssh";
user = "username";
};
};
};
test.stubs.earthly = { };
nmt.script = ''
assertFileExists home-files/.earthly/config.yml
assertFileContent home-files/.earthly/config.yml ${./earthly-settings.yml}
'';
}