mirror of
https://github.com/nix-community/home-manager.git
synced 2026-06-05 21:02:51 +00:00
16 lines
396 B
Nix
16 lines
396 B
Nix
{ pkgs, ... }:
|
|
{
|
|
home.services.demo = {
|
|
process.argv = [ "${pkgs.coreutils}/bin/true" ];
|
|
configData."config.toml".text = ''
|
|
[server]
|
|
port = 1234
|
|
'';
|
|
};
|
|
|
|
nmt.script = ''
|
|
assertFileContent home-files/.config/home-services/demo/config.toml ${./config.toml}
|
|
assertFileContains home-files/.config/systemd/user/demo.service 'X-Reload-Triggers=/nix/store/'
|
|
'';
|
|
}
|