diff options
| -rw-r--r-- | flake.lock | 107 | ||||
| -rw-r--r-- | flake.nix | 2 | ||||
| -rw-r--r-- | home-manager/features/gui/apps/discord.nix | 19 | ||||
| -rw-r--r-- | home-manager/users/thinkpad-laptop/lucia.nix | 2 |
4 files changed, 126 insertions, 4 deletions
@@ -81,6 +81,38 @@ "type": "github" } }, + "flake-compat_2": { + "locked": { + "lastModified": 1733328505, + "narHash": "sha256-NeCCThCEP3eCl2l/+27kNNK7QrwZB1IJCrXfrbv5oqU=", + "rev": "ff81ac966bb2cae68946d5ed5fc4994f96d0ffec", + "revCount": 69, + "type": "tarball", + "url": "https://api.flakehub.com/f/pinned/edolstra/flake-compat/1.1.0/01948eb7-9cba-704f-bbf3-3fa956735b52/source.tar.gz" + }, + "original": { + "type": "tarball", + "url": "https://flakehub.com/f/edolstra/flake-compat/1.tar.gz" + } + }, + "flake-parts": { + "inputs": { + "nixpkgs-lib": "nixpkgs-lib" + }, + "locked": { + "lastModified": 1772408722, + "narHash": "sha256-rHuJtdcOjK7rAHpHphUb1iCvgkU3GpfvicLMwwnfMT0=", + "owner": "hercules-ci", + "repo": "flake-parts", + "rev": "f20dc5d9b8027381c474144ecabc9034d6a839a3", + "type": "github" + }, + "original": { + "owner": "hercules-ci", + "repo": "flake-parts", + "type": "github" + } + }, "flake-utils": { "inputs": { "systems": [ @@ -309,6 +341,27 @@ "type": "github" } }, + "nixcord": { + "inputs": { + "flake-compat": "flake-compat_2", + "flake-parts": "flake-parts", + "nixpkgs": "nixpkgs_6", + "nixpkgs-nixcord": "nixpkgs-nixcord" + }, + "locked": { + "lastModified": 1773707837, + "narHash": "sha256-TFK0EXOTihtOiqdipVuUWnA3O+2XALosoFGXgMmnRM0=", + "owner": "FlameFlag", + "repo": "nixcord", + "rev": "a917a4b7ddd13539ecc0a4b5094f015ba7b192dc", + "type": "github" + }, + "original": { + "owner": "FlameFlag", + "repo": "nixcord", + "type": "github" + } + }, "nixos-hardware": { "locked": { "lastModified": 1770631810, @@ -341,6 +394,37 @@ "type": "github" } }, + "nixpkgs-lib": { + "locked": { + "lastModified": 1772328832, + "narHash": "sha256-e+/T/pmEkLP6BHhYjx6GmwP5ivonQQn0bJdH9YrRB+Q=", + "owner": "nix-community", + "repo": "nixpkgs.lib", + "rev": "c185c7a5e5dd8f9add5b2f8ebeff00888b070742", + "type": "github" + }, + "original": { + "owner": "nix-community", + "repo": "nixpkgs.lib", + "type": "github" + } + }, + "nixpkgs-nixcord": { + "locked": { + "lastModified": 1773222311, + "narHash": "sha256-BHoB/XpbqoZkVYZCfXJXfkR+GXFqwb/4zbWnOr2cRcU=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "0590cd39f728e129122770c029970378a79d076a", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "nixos-25.11", + "repo": "nixpkgs", + "type": "github" + } + }, "nixpkgs-stable": { "locked": { "lastModified": 1770617025, @@ -423,6 +507,22 @@ }, "nixpkgs_6": { "locked": { + "lastModified": 1773222311, + "narHash": "sha256-BHoB/XpbqoZkVYZCfXJXfkR+GXFqwb/4zbWnOr2cRcU=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "0590cd39f728e129122770c029970378a79d076a", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "nixos-25.11", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs_7": { + "locked": { "lastModified": 1770562336, "narHash": "sha256-ub1gpAONMFsT/GU2hV6ZWJjur8rJ6kKxdm9IlCT0j84=", "owner": "nixos", @@ -437,7 +537,7 @@ "type": "github" } }, - "nixpkgs_7": { + "nixpkgs_8": { "locked": { "lastModified": 1752012998, "narHash": "sha256-Q82Ms+FQmgOBkdoSVm+FBpuFoeUAffNerR5yVV7SgT8=", @@ -464,8 +564,9 @@ "niri": "niri", "nix-flatpak": "nix-flatpak", "nix-minecraft": "nix-minecraft", + "nixcord": "nixcord", "nixos-hardware": "nixos-hardware", - "nixpkgs": "nixpkgs_6", + "nixpkgs": "nixpkgs_7", "wallpapers": "wallpapers" } }, @@ -517,7 +618,7 @@ "wallpapers": { "inputs": { "flake-utils": "flake-utils", - "nixpkgs": "nixpkgs_7", + "nixpkgs": "nixpkgs_8", "systems": "systems_3" }, "locked": { @@ -58,5 +58,7 @@ url = "gitlab:rycee/nur-expressions?dir=pkgs/firefox-addons"; inputs.nixpkgs.follows = "nixpkgs"; }; + + nixcord.url = "github:FlameFlag/nixcord"; }; } diff --git a/home-manager/features/gui/apps/discord.nix b/home-manager/features/gui/apps/discord.nix new file mode 100644 index 0000000..f42a852 --- /dev/null +++ b/home-manager/features/gui/apps/discord.nix @@ -0,0 +1,19 @@ +{ config, lib, inputs, ... }: let + cfg = config.features.gui.apps.discord; +in { + imports = [ inputs.nixcord.homeModules.nixcord ]; + options.features.gui.apps.disord.enable = lib.mkEnableOption "discord"; + config = lib.mkIf cfg.enable { + programs.nixcord = { + enable = true; + equibop.enable = true; + plugins = { + loadingQuotes.enable = true; # Replaces loading quotes + homeTyping.enable = true; # Typing icon replaces home icon when someone is typing in dms + keyboardNavigation.enable = true; # Adds command palette for keyboard nav + findReply = true; # Adds a button to find the earliest reply in a chain. + declutter = true; # Removes discord UI clutter (quests, shop, etc) + }; + }; + }; +} diff --git a/home-manager/users/thinkpad-laptop/lucia.nix b/home-manager/users/thinkpad-laptop/lucia.nix index 49eb98a..53f3934 100644 --- a/home-manager/users/thinkpad-laptop/lucia.nix +++ b/home-manager/users/thinkpad-laptop/lucia.nix @@ -35,7 +35,7 @@ apps = { foot.enable = true; librewolf.enable = true; - vesktop.enable = true; + discord.enable = true; anki.enable = true; }; bundles = { |
