fork/home-manager

git clone https://git.julia.blue/fork/home-manager

Naïm Favierssh: don't install a client by default (#4016)2d963854

master
449 B18 linesraw
1{ config, lib, pkgs, ... }:
2
3with lib;
4
5{
6  config = {
7    programs.ssh = { enable = true; };
8
9    home.file.assertions.text = builtins.toJSON
10      (map (a: a.message) (filter (a: !a.assertion) config.assertions));
11
12    nmt.script = ''
13      assertFileExists home-files/.ssh/config
14      assertFileContent home-files/.ssh/config ${./default-config-expected.conf}
15      assertFileContent home-files/assertions ${./no-assertions.json}
16    '';
17  };
18}