diff --git a/lib/mkSystem.nix b/lib/mkSystem.nix index f60c0d1..e959caa 100644 --- a/lib/mkSystem.nix +++ b/lib/mkSystem.nix @@ -43,6 +43,8 @@ in inputs.nixpkgs.lib.nixosSystem { emacs.overlay (import ../packages) (import ../overlays/simple.nix) + + # Always keep sandbox.nix as the last overlay (import ../overlays/sandbox.nix) ]; } diff --git a/overlays/simple.nix b/overlays/simple.nix index 241510b..d25d027 100644 --- a/overlays/simple.nix +++ b/overlays/simple.nix @@ -89,4 +89,13 @@ final: prev: sha256 = "1d17lvydlny9pvaxa9xy53wxs7i6d563lp5r9g3r1xpgnb7zli8v"; }; }); + + # TODO: Remove when updated in nixos-unstable + discord = prev.discord.overrideAttrs (old: { + version = "0.0.17"; + src = prev.fetchurl { + url = "https://dl.discordapp.net/apps/linux/0.0.17/discord-0.0.17.tar.gz"; + sha256 = "sha256-NGJzLl1dm7dfkB98pQR3gv4vlldrII6lOMWTuioDExU="; + }; + }); }