My NixOS configuration (mirror)

feat: added(?) rich presence to helix

+97 -1
+70 -1
flake.lock
··· 92 92 "type": "github" 93 93 } 94 94 }, 95 + "flake-utils_3": { 96 + "inputs": { 97 + "systems": "systems_4" 98 + }, 99 + "locked": { 100 + "lastModified": 1731533236, 101 + "narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=", 102 + "owner": "numtide", 103 + "repo": "flake-utils", 104 + "rev": "11707dc2f618dd54ca8739b309ec4fc024de578b", 105 + "type": "github" 106 + }, 107 + "original": { 108 + "owner": "numtide", 109 + "repo": "flake-utils", 110 + "type": "github" 111 + } 112 + }, 95 113 "ghostty": { 96 114 "inputs": { 97 115 "flake-compat": "flake-compat", ··· 292 310 "type": "github" 293 311 } 294 312 }, 313 + "nixpkgs_4": { 314 + "locked": { 315 + "lastModified": 1753694789, 316 + "narHash": "sha256-cKgvtz6fKuK1Xr5LQW/zOUiAC0oSQoA9nOISB0pJZqM=", 317 + "owner": "nixos", 318 + "repo": "nixpkgs", 319 + "rev": "dc9637876d0dcc8c9e5e22986b857632effeb727", 320 + "type": "github" 321 + }, 322 + "original": { 323 + "owner": "nixos", 324 + "ref": "nixos-unstable", 325 + "repo": "nixpkgs", 326 + "type": "github" 327 + } 328 + }, 295 329 "nvf": { 296 330 "inputs": { 297 331 "flake-compat": "flake-compat_2", ··· 322 356 "kwin-effects-forceblur": "kwin-effects-forceblur", 323 357 "niri": "niri", 324 358 "nixpkgs": "nixpkgs_2", 325 - "nvf": "nvf" 359 + "nvf": "nvf", 360 + "rpc-lsp": "rpc-lsp" 361 + } 362 + }, 363 + "rpc-lsp": { 364 + "inputs": { 365 + "flake-utils": "flake-utils_3", 366 + "nixpkgs": "nixpkgs_4" 367 + }, 368 + "locked": { 369 + "lastModified": 1753845534, 370 + "narHash": "sha256-8m/C85Jue9RCvucMc5+T4F4RjfYtEgwgPrK1oRzAKko=", 371 + "owner": "matthew-hre", 372 + "repo": "discord-rpc-lsp-flake", 373 + "rev": "0738e391d9273776cd69408d871a08e09ece3b14", 374 + "type": "github" 375 + }, 376 + "original": { 377 + "owner": "matthew-hre", 378 + "repo": "discord-rpc-lsp-flake", 379 + "type": "github" 326 380 } 327 381 }, 328 382 "systems": { ··· 356 410 } 357 411 }, 358 412 "systems_3": { 413 + "locked": { 414 + "lastModified": 1681028828, 415 + "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", 416 + "owner": "nix-systems", 417 + "repo": "default", 418 + "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", 419 + "type": "github" 420 + }, 421 + "original": { 422 + "owner": "nix-systems", 423 + "repo": "default", 424 + "type": "github" 425 + } 426 + }, 427 + "systems_4": { 359 428 "locked": { 360 429 "lastModified": 1681028828, 361 430 "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
+2
flake.nix
··· 20 20 nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; 21 21 22 22 nvf.url = "github:notashelf/nvf"; 23 + 24 + rpc-lsp.url = "github:matthew-hre/discord-rpc-lsp-flake"; 23 25 }; 24 26 25 27 outputs = inputs @ {
+25
home/helix.nix
··· 1 1 { 2 + pkgs, 3 + inputs, 4 + ... 5 + }: { 6 + home.packages = [ 7 + inputs.rpc-lsp.packages.${pkgs.system}.default 8 + ]; 9 + 2 10 programs.helix = { 3 11 enable = true; 12 + 13 + extraPackages = [inputs.rpc-lsp.packages.${pkgs.system}.default]; 14 + 15 + languages = { 16 + language-server = { 17 + discord-rpc = { 18 + command = "${inputs.rpc-lsp.packages.${pkgs.system}.default}/bin/discord-rpc-lsp-flake"; 19 + }; 20 + }; 21 + 22 + language = [ 23 + { 24 + name = "nix"; 25 + language-servers = ["discord-rpc"]; 26 + } 27 + ]; 28 + }; 4 29 settings = { 5 30 theme = "dracula"; 6 31 editor = {