summaryrefslogtreecommitdiff
path: root/darwinConfigurations/mairon/default.nix
blob: 31ab461c4b92dedaf219c1891ef8dc6b71e0b85f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{
  config,
  lib,
  pkgs,
  this,
  ...
}:
with lib; {
  nixfiles.modules.vscode.enable = true;

  # TODO Make this per-directory/per-remote.
  hm = {
    packages = with pkgs; [
      ansible
      ansible-lint
    ];

    programs.git = {
      userName = mkForce "Firstname Lastname";
      userEmail = mkForce "username@work.com";
      signing.key = mkForce "@PGP_KEY@";
      extraConfig."url \"git@gitlab.services.work.com:\"".insteadOf = "work:";
    };
  };

  networking = {
    computerName = mkForce this.hostname;
    hostName = mkForce null; # We don't want to override this.
  };
}