gpg: make homedir configurable

This commit is contained in:
fricklerhandwerk 2019-10-25 17:12:40 +02:00 committed by Robert Helgesson
parent 0a6227d667
commit 348b5a5a69
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89
6 changed files with 95 additions and 9 deletions

View file

@ -16,11 +16,13 @@ with lib;
"0xYYYYYYYYYYYYY"
];
};
homedir = "${config.home.homeDirectory}/bar/foopg";
};
nmt.script = ''
assertFileExists home-files/.gnupg/gpg.conf
assertFileContent home-files/.gnupg/gpg.conf ${./override-defaults-expected.conf}
assertFileExists home-files/bar/foopg/gpg.conf
assertFileContent home-files/bar/foopg/gpg.conf ${./override-defaults-expected.conf}
'';
};
}