Enable discord with vencord and openasar
This commit is contained in:
parent
0282590dd8
commit
c028fc200d
2 changed files with 30 additions and 1 deletions
12
flake.nix
12
flake.nix
|
|
@ -38,7 +38,17 @@ outputs = {nixpkgs, agenix, home-manager, nixpkgs-unstable, nix-impermanence, ..
|
|||
system = "x86_64-linux";
|
||||
pkgs = import nixpkgs-unstable {
|
||||
system = "x86_64-linux";
|
||||
config = { allowUnfree = true; }; # TODO: Find why this doesn't work
|
||||
config = { allowUnfree = true; }; # TODO: Find why this doesn't work
|
||||
overlays =
|
||||
let
|
||||
discordOverlay = self: super: {
|
||||
discord = super.discord.override {
|
||||
withOpenASAR = true;
|
||||
withVencord = true;
|
||||
};
|
||||
};
|
||||
in
|
||||
[ discordOverlay ];
|
||||
};
|
||||
modules = [
|
||||
# Needed for nix-index
|
||||
|
|
|
|||
19
roles/desktop/discord.nix
Normal file
19
roles/desktop/discord.nix
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
# TODO: Find out why this does not do anything. If I put this
|
||||
# on flake.nix it does work, so it's not completely wrong.
|
||||
/* nixpkgs.overlays =
|
||||
let
|
||||
discordOverlay = self: super: {
|
||||
discord = super.discord.override {
|
||||
withOpenASAR = true;
|
||||
withVencord = true;
|
||||
};
|
||||
};
|
||||
in
|
||||
[ discordOverlay ]; */
|
||||
users.users.toast.packages = with pkgs; [
|
||||
discord
|
||||
];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue