aboutsummaryrefslogtreecommitdiffstats
path: root/home/sadbeast/work.nix
blob: 88bc30758019e76aee2844dde1e75884c083f94b (plain) (blame)
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
{
  pkgs,
  config,
  lib,
  ...
}: {
  imports = [
    ./global
    ./features/desktop
  ];

  home = {
    packages = with pkgs; [
      adrs
      aws-sam-cli
      awscli2
      vscode
      vscode-extensions.github.copilot-chat
      gcc
      glow
      google-chrome
      libreoffice
      nodejs
      ngrok
      pop
      pgcli
      #ruby
      #ruby-lsp
      sshfs
      slack
      ssm-session-manager-plugin
      tmate
      virt-manager
      zoom
    ];

    sessionVariables = {
      CODEARTIFACT_AUTH_CMD = "aws codeartifact get-authorization-token --domain andros --domain-owner 111491220182 --region us-east-2 --query authorizationToken --output text";
    };
  };

  programs = {
    git = {
      userName = "Kent Smith";
      userEmail = "kent.smith@andros.co";

      extraConfig = {
        core.sshCommand = "ssh -i ~/.ssh/id_rsa -o IdentitiesOnly=yes";
      };
    };

    obs-studio = {
      enable = true;
      plugins = with pkgs.obs-studio-plugins; [
        wlrobs
        obs-backgroundremoval
        obs-pipewire-audio-capture
      ];
    };

    qutebrowser = {
      settings.content.blocking.whitelist = [
        "app.bugsnag.com"
      ];
    };
  };

  xdg.mimeApps.defaultApplications = {
    "text/html" = "google-chrome.desktop";
    "x-scheme-handler/http" = "google-chrome.desktop";
    "x-scheme-handler/https" = "google-chrome.desktop";
    "x-scheme-handler/about" = "google-chrome.desktop";
    "x-scheme-handler/unknown" = "google-chrome.desktop";
  };

  wayland.windowManager.sway.config.output = {
    eDP-1 = {disable = "disable";};
    # eDP-1 = {
    #   disable = true;
    #   # resolution = "1920x1080";
    #   # position = "0,0";
    # };
    HDMI-A-1 = {
      resolution = "1920x1080";
      # position = "0,1080";
      position = "0,0";
    };
    DP-1 = {
      resolution = "1920x1080";
      # position = "1920,1080";
      position = "1920,0";
    };
  };
}