summaryrefslogtreecommitdiff
path: root/home/default.nix
blob: bc7026d674d4a0fb0431e65c4946868143757724 (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
{
  config,
  pkgs,
  ...
}: {
  personal = {
    profiles = {
      dev = true;
      multimedia = true;
      social = true;
      syncing = true;
    };
    identities = {
      personal = true;
      work = true;
    };
  };

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

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

    # necessary because the hephaistos remote builder sets
    # nixremote as default ssh user
    ssh = {
      enable = true;
      matchBlocks."hephaistos.local" = {
        user = config.home.username;
        extraOptions.IdentitiesOnly = "no";
      };
    };
  };
}