newest discord

This commit is contained in:
Cyryl Płotnicki 2022-02-20 16:23:55 +00:00
parent 83f91ce528
commit 6c17ac67d9
3 changed files with 28 additions and 3 deletions

View file

@ -19,6 +19,22 @@
"type": "github" "type": "github"
} }
}, },
"discord": {
"locked": {
"lastModified": 1645128811,
"narHash": "sha256-HEa2awcmQ86HEFvOyCimCURc03bnhrOg1tb2E27Jisw=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "e0c8e584ae000051db50c70cf6882e12e91b5e9f",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "e0c8e584ae000051db50c70cf6882e12e91b5e9f",
"repo": "nixpkgs",
"type": "github"
}
},
"flake-compat": { "flake-compat": {
"flake": false, "flake": false,
"locked": { "locked": {
@ -220,6 +236,7 @@
"root": { "root": {
"inputs": { "inputs": {
"agenix": "agenix", "agenix": "agenix",
"discord": "discord",
"flake-utils": "flake-utils", "flake-utils": "flake-utils",
"home-manager": "home-manager", "home-manager": "home-manager",
"neuron": "neuron", "neuron": "neuron",

View file

@ -1,6 +1,6 @@
{ {
description = "NixOS configuration with flakes"; description = "NixOS configuration with flakes";
outputs = { self, flake-utils, home-manager, nixpkgs-nixos-unstable, nixpkgs-stable, nixos-hardware, nur, agenix, neuron, sops } @ inputs: outputs = { self, flake-utils, home-manager, nixpkgs-nixos-unstable, nixpkgs-stable, nixos-hardware, nur, agenix, neuron, sops, discord } @ inputs:
let let
mkServer = pkgs: system: hostname: mkServer = pkgs: system: hostname:
@ -43,6 +43,7 @@
specialArgs = { specialArgs = {
inherit inputs system; inherit inputs system;
unstableAndUnfree = import nixpkgs-nixos-unstable { inherit system; config = { allowUnfree = true; }; }; unstableAndUnfree = import nixpkgs-nixos-unstable { inherit system; config = { allowUnfree = true; }; };
discord = import discord { inherit system; config = { allowUnfree = true; }; };
}; };
}; };
in in
@ -152,6 +153,13 @@
repo = "sops-nix"; repo = "sops-nix";
ref = "master"; ref = "master";
}; };
discord = {
type = "github";
owner = "NixOS";
repo = "nixpkgs";
ref = "e0c8e584ae000051db50c70cf6882e12e91b5e9f";
};
}; };
} }

View file

@ -1,4 +1,4 @@
{ config, pkgs, unstableAndUnfree, inputs, ... }: { config, pkgs, discord, inputs, ... }:
let let
unstable = inputs.nixpkgs-nixos-unstable.legacyPackages.${pkgs.system}; unstable = inputs.nixpkgs-nixos-unstable.legacyPackages.${pkgs.system};
in in
@ -42,7 +42,7 @@ in
brave brave
cheese cheese
digikam digikam
unstableAndUnfree.discord discord.discord
electrum electrum
element-desktop element-desktop
eog eog