summaryrefslogtreecommitdiff
path: root/home/default.nix
blob: 5ab72f9baac853627eade7466eeb8aff93af6840 (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
{ 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" = {
      host = "git.aristote.fr";
      hostname = lib.mkForce "hephaistos.local";
      proxyJump = lib.mkForce null;
    };
  };
}