user/neovim: switch to nixd

This commit is contained in:
Cilly Leang 2026-06-19 07:36:13 +10:00
parent 21dc584199
commit 4dfc898140
Signed by: cilly
GPG key ID: 6500251E087653C9
4 changed files with 33 additions and 6 deletions

View file

@ -1,5 +1,6 @@
{ config, lib, pkgs, ... }: {
{ config, inputs, pkgs, ... }: {
nix = {
nixPath = [ "nixpkgs=${inputs.nixpkgs}" ];
package = pkgs.nixVersions.latest;
settings = rec {

View file

@ -1,9 +1,9 @@
{ config, lib, pkgs, ... }:
{ config, lib, pkgs, sysConfig, ... }:
let
luaconf = pkgs.writeText "config.lua"
(lib.replaceStrings
["{{OMNISHARP_PATH}}" "{{DART_PATH}}" "{{CATPPUCCIN_FLAVOUR}}"]
["${pkgs.omnisharp-roslyn}/bin/OmniSharp" "${pkgs.dart}/bin/dart" config.catppuccin.nvim.flavor]
["{{OMNISHARP_PATH}}" "{{DART_PATH}}" "{{CATPPUCCIN_FLAVOUR}}" "{{USERNAME}}" "{{HOSTNAME}}"]
["${pkgs.omnisharp-roslyn}/bin/OmniSharp" "${pkgs.dart}/bin/dart" config.catppuccin.nvim.flavor config.home.username sysConfig.networking.hostName]
(builtins.readFile ../../res/config.lua));
in {
systemd.user.tmpfiles.rules = [
@ -21,6 +21,7 @@ in {
withRuby = false;
extraPackages = with pkgs; [
nixd
rust-analyzer
texlab
astro-language-server