1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-01 16:59:43 +01:00
home-manager/tests/modules/programs/jujutsu/empty-config.nix

15 lines
273 B
Nix
Raw Normal View History

{ pkgs, ... }:
2023-01-27 22:15:17 +01:00
let
configDir =
if pkgs.stdenv.isDarwin then "Library/Application Support" else ".config";
in {
2023-01-27 22:15:17 +01:00
programs.jujutsu.enable = true;
test.stubs.jujutsu = { };
nmt.script = ''
assertPathNotExists 'home-files/${configDir}/jj/config.toml'
2023-01-27 22:15:17 +01:00
'';
}