mirror of
https://github.com/nix-community/home-manager.git
synced 2026-10-31 01:02:22 +00:00
Adds programs.t3code so T3 Code can be installed and configured from Home Manager, including optional merge semantics when the app mutates its config files. Includes a news entry and tests for empty, merged, and immutable setups.
15 lines
344 B
Nix
15 lines
344 B
Nix
{ config, ... }:
|
|
|
|
{
|
|
programs.t3code = {
|
|
enable = true;
|
|
package = config.lib.test.mkStubPackage { };
|
|
};
|
|
|
|
nmt.script = ''
|
|
assertPathNotExists "home-files/.t3/userdata/settings.json"
|
|
assertPathNotExists "home-files/.t3/userdata/keybindings.json"
|
|
assertPathNotExists "home-files/.t3/userdata/client-settings.json"
|
|
'';
|
|
}
|