summaryrefslogtreecommitdiff
path: root/home/unstable.nix
blob: fc22c8039c70cf26b9c49142149bdf7a157adcdc (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
{config, pkgs, inputs, system, ...}:

with import inputs.nixpkgs-unstable {inherit system; };
{
  home.packages = [
    dino
    nyxt
    zulip-term
    carp
    foliate
    elixir_1_12
    elixir_ls
    thunderbird
    (stdenv.mkDerivation {
        name = "signal-wayland";
        src = signal-desktop;
        phases = [ "buildPhase" ];
        buildPhase = ''
          mkdir -p $out
          cp -r $src/{bin,lib} $out
        '';
    })
  ];

  xdg.desktopEntries."Signal" = {
      name = "Signal";
      exec =
      "signal-desktop --enable-features=WaylandWindowDecorations --ozone-platform-hint=auto";
      terminal = false;
      type = "Application";
      icon = "signal-desktop";
      comment = "Private messaging from your desktop";
      mimeType = [ "x-scheme-handler/sgnl" "x-scheme-handler/signalcaptcha"];
      categories = ["Network" "InstantMessaging" "Chat"];
  };
}