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

with import inputs.nixpkgs-unstable {inherit system; };
{
  home.packages = [
    dino
    nyxt
    (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"];
  };
}