summaryrefslogtreecommitdiff
path: root/home/default.nix
blob: 9caad941965611068fe7197bf13158d7c328526f (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
31
32
33
34
35
36
37
38
39
40
41
42
43
{ lib, pkgs, ... }:
{
  personal = {
    profiles = {
      dev = true;
      multimedia = true;
      social = true;
      syncing = true;
    };
    identities = {
      personal = true;
      work = true;
    };
  };

  accounts.email.accounts.personal.primary = true;

  personal.x.i3.devices = {
    wifi = "wlp0s20f3";
    eth = "enp0s31f6";
  };

  programs = {
    bash.bashrcExtra = ''
      function screen (){
        echo -ne "\033]0;screen $@\a"
        sudo ${pkgs.screen}/bin/screen $@
      }
    '';

    ssh.matchBlocks = {
      "git.aristote.fr" = {
        hostname = lib.mkForce "hephaistos.local";
        proxyJump = lib.mkForce null;
      };
      "ds411.aristote.fr" = {
        hostname = "ds411.aristote.mesh";
        user = "quentin";
        proxyJump = "hermes.aristote.fr";
      };
    };
  };
}