summary refs log tree commit diff stats
path: root/user/satoshipad.nix
blob: c244e6f6e26d9379dc933ff8bd8bcc52bcc934be (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
{ config, pkgs, ... }:

{
  imports = [
    ./settings/base.nix
    ./settings/development/base.nix
    ./settings/dunst.nix
    ./settings/emacs.nix
    ./settings/git.nix
    ./settings/gnupg.nix
    ./settings/i3.nix
    ./settings/javascript.nix
    ./settings/mail.nix
    ./settings/nixos.nix
    ./settings/rofi.nix
    ./settings/passwords.nix
    ./settings/satoshipay.nix
    ./settings/sxhkd.nix
    ./settings/tabnine.nix
    ./settings/trezor.nix
    ./settings/user-interface.nix
    ./settings/xresources.nix
    ./settings/zsh.nix
  ];

  home.sessionVariables.EMAIL = "alan@satoshipay.io";

  xsession.windowManager.i3 = {
    config = {
      assigns = {
        "1" = [{ class = "^Slack"; }];
        "2" = [{ class = "^Firefox"; }];
        "6" = [{ class = "^Emacs$"; }];
      };
      startup = [
        { command = "slack"; }
        { command = "firefox-devedition"; }
        { command = "emacs"; }
      ];
    };
    extraConfig = ''
      workspace 1 output primary
      workspace 2 output primary
      workspace 3 output primary
      workspace 4 output primary
      workspace 5 output primary
      workspace 6 output secondary
      workspace 7 output secondary
      workspace 8 output secondary
      workspace 9 output secondary
      workspace 10 output secondary
    '';
  };
}