about summary refs log tree commit diff
path: root/modules/nixos
diff options
context:
space:
mode:
Diffstat (limited to 'modules/nixos')
-rw-r--r--modules/nixos/default.nix1
-rw-r--r--modules/nixos/discord.nix22
-rw-r--r--modules/nixos/firefox/userContent.css22
-rw-r--r--modules/nixos/games/minecraft.nix4
4 files changed, 14 insertions, 35 deletions
diff --git a/modules/nixos/default.nix b/modules/nixos/default.nix
index 5b9a3be..e8c9467 100644
--- a/modules/nixos/default.nix
+++ b/modules/nixos/default.nix
@@ -8,7 +8,6 @@ _: {
     ./chromium.nix
     ./clickhouse.nix
     ./common
-    ./discord.nix
     ./docker.nix
     ./dwm.nix
     ./emacs.nix
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.
-      })
-    ];
-  };
-}
diff --git a/modules/nixos/firefox/userContent.css b/modules/nixos/firefox/userContent.css
index 5a297ab..e95c733 100644
--- a/modules/nixos/firefox/userContent.css
+++ b/modules/nixos/firefox/userContent.css
@@ -49,27 +49,31 @@
 
 @-moz-document regexp("https?://(.*\.)?github.com.*")
 {
-    #org-repo-pin-select-menu,
-    #sponsor-button,
-    .dropdown-divider,
-    .footer,
-    .octicon.octicon-info,
+    .Overlay-footer,
+    .color-fg-muted.f6.mt-4, /* GitHub profile guide. */
+    .flex-order-1.flex-md-order-none, /* Follow button. */
+    .js-user-status-item,
+    .protip,
     .pt-3.mt-3.d-none.d-md-block, /* Profile achievements. */
-    .starring-container,
-    .user-following-container,
-    .user-profile-link,
+    .text-small.color-fg-muted.mx-md-2.mt-3.mt-md-2.mb-2, /* Community guidelines. */
     .user-status-circle-badge-container,
     .user-status-container,
     a[href^="/account/choose?action=upgrade"],
     a[href^="/codespaces"],
     a[href^="/collections"],
+    a[href^="/contact/report-content"],
     a[href^="/events"],
     a[href^="/explore"],
+    a[href^="/github-copilot"],
     a[href^="/marketplace"],
     a[href^="/organizations/enterprise"],
+    a[href^="/settings/enterprises"],
     a[href^="/sponsors"],
     a[href^="/topics"],
-    a[href^="/trending"] {
+    a[href^="/trending"],
+    details[id^="funding-links-modal"],
+    footer
+    {
         display: none !important;
     }
 
diff --git a/modules/nixos/games/minecraft.nix b/modules/nixos/games/minecraft.nix
index f738c33..2242df4 100644
--- a/modules/nixos/games/minecraft.nix
+++ b/modules/nixos/games/minecraft.nix
@@ -31,9 +31,7 @@ in {
 
   config = mkMerge [
     (mkIf cfg.client.enable {
-      hm.home.packages = with pkgs; [pollymc-unwrapped];
-
-      nixpkgs.overlays = [inputs.pollymc.overlays.default];
+      hm.home.packages = [pkgs.prismlauncher];
     })
     (mkIf cfg.server.enable {
       nixfiles.modules.common.nix.allowedUnfreePackages = ["minecraft-server"];

Consider giving Nix/NixOS a try! <3