summaryrefslogtreecommitdiff
path: root/home/default.nix
blob: 6df900dfabacb75ec0b53b1766433a89e54ecb42 (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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
{
  config,
  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.settings = {
      "Host git.aristote.fr" = {
        hostname = lib.mkForce "hephaistos.local";
        proxyJump = lib.mkForce null;
      };
      "Host ds411.aristote.fr" = {
        hostname = "ds411.aristote.mesh";
        user = "quentin";
        proxyJump = "hephaistos.local";
      };
      "Host ds218.aristote.fr" = {
        hostname = "ds218.aristote.mesh";
        user = "quentin";
        proxyJump = "hephaistos.local";
      };
    };
  };

  # You are currently using the legacy default (`".mozilla/firefox"`) because `home.stateVersion` is less than "26.05".
  # To silence this warning and keep legacy behavior, set:
  #   programs.firefox.configPath = ".mozilla/firefox";
  # To adopt the new default behavior, set:
  programs.firefox.configPath = "${config.xdg.configHome}/mozilla/firefox";
  # To migrate to the XDG path, move `~/.mozilla/firefox` to
  # `$XDG_CONFIG_HOME/mozilla/firefox` and remove the old directory.
  # Native messaging hosts are not moved by this option change.
}