d5c807a4f9
For that 5.9.2 kernel goodness. Since I can track nixpkgs myself, I'm using nixpkgs/master now (and twice, so I can track them at separate rates). Though, for now, nixpkgs == nixpkgs.unstable
19 lines
433 B
Nix
19 lines
433 B
Nix
{ config, options, lib, pkgs, ... }:
|
|
|
|
with lib;
|
|
with lib.my;
|
|
let cfg = config.modules.desktop.apps.discord;
|
|
in {
|
|
options.modules.desktop.apps.discord = {
|
|
enable = mkBoolOpt false;
|
|
};
|
|
|
|
config = mkIf cfg.enable {
|
|
user.packages = with pkgs; [
|
|
# If not installed from the bleeding edge, Discord will sometimes
|
|
# soft-lock itself on a "there's an update for discord" screen.
|
|
unstable.discord
|
|
];
|
|
};
|
|
}
|