about summary refs log tree commit diff
path: root/modules/nixos/discord.nix
diff options
context:
space:
mode:
authorAzat Bahawi <azat@bahawi.net>2023-10-21 04:03:28 +0300
committerAzat Bahawi <azat@bahawi.net>2023-10-21 04:03:28 +0300
commite591de4986b1c80f2529b7ba9b0601900a599276 (patch)
tree5cac69f30a8e85791ad6aa058a8abbc2b2b12acb /modules/nixos/discord.nix
parent2023-10-13 (diff)
2023-10-21
Diffstat (limited to '')
-rw-r--r--modules/nixos/discord.nix22
1 files changed, 0 insertions, 22 deletions
diff --git a/modules/nixos/discord.nix b/modules/nixos/discord.nix
deleted file mode 100644
index 69ab525..0000000
--- a/modules/nixos/discord.nix
+++ /dev/null
@@ -1,22 +0,0 @@
-{
-  config,
-  lib,
-  pkgs,
-  ...
-}:
-with lib; let
-  cfg = config.nixfiles.modules.discord;
-in {
-  options.nixfiles.modules.discord.enable =
-    mkEnableOption "Steam runtime";
-
-  config = mkIf cfg.enable {
-    nixfiles.modules.common.nix.allowedUnfreePackages = ["discord"];
-
-    hm.home.packages = with pkgs; [
-      (discord.override {
-        withOpenASAR = false; # This doesnt work.
-      })
-    ];
-  };
-}

Consider giving Nix/NixOS a try! <3