diff options
author | Azat Bahawi <azat@bahawi.net> | 2023-10-21 04:03:28 +0300 |
---|---|---|
committer | Azat Bahawi <azat@bahawi.net> | 2023-10-21 04:03:28 +0300 |
commit | e591de4986b1c80f2529b7ba9b0601900a599276 (patch) | |
tree | 5cac69f30a8e85791ad6aa058a8abbc2b2b12acb /modules/nixos | |
parent | 2023-10-13 (diff) |
2023-10-21
Diffstat (limited to '')
-rw-r--r-- | modules/nixos/default.nix | 1 | ||||
-rw-r--r-- | modules/nixos/discord.nix | 22 | ||||
-rw-r--r-- | modules/nixos/firefox/userContent.css | 22 | ||||
-rw-r--r-- | modules/nixos/games/minecraft.nix | 4 |
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"]; |