fork/home-manager
git clone https://git.julia.blue/fork/home-manager
939731b8
master
1{ config , ...} : 2 3{ 4services . cachix-agent = { 5enable = true ; 6package = config . lib . test . mkStubPackage { outPath = "@cachix-agent@" ; }; 7name = "test-agent" ; 8}; 9 10test . stubs . nix = { }; 11 12nmt . script = '' 13assertFileContent \ 14home-files/.config/systemd/user/cachix-agent.service \ 15${ 16builtins . toFile "cachix-agent.service" '' 17[Install] 18WantedBy=default.target 19 20[Service] 21Environment=PATH=@nix@/bin 22EnvironmentFile=/home/hm-user/.config/cachix-agent.token 23ExecStart='@cachix-agent@/bin/cachix' 'deploy' 'agent' 'test-agent' 'home-manager' 24KillMode=process 25Restart=on-failure 26 27[Unit] 28Description=Cachix Deploy Agent 29'' 30} 31'' ; 32}