summary refs log tree commit diff stats
path: root/user/satoshipad.nix
blob: 445f28a3ba0b530345080e81e2a161f5f18fa1ec (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
{ 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";
  home.sessionVariables.BROWSER = "firefox-devedition";

  xsession.windowManager.i3 = {
    config = {
      assigns = {
        "1" = [{ class = "^Firefox Developer Edition$"; }];
        "2" = [{ class = "^Ripcord$"; }];
        "6" = [{ class = "^Emacs$"; }];
      };
      startup = [
        { command = "firefox-devedition"; }
        { command = "ripcord"; }
        { 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
    '';
  };
}