fix(neovim): rename flake option to nixd and set for laptop

This commit is contained in:
Alexandre Cavalheiro 2025-01-16 20:13:22 -03:00
parent 4b2e262cdf
commit 6cde9353ab
Signed by: wizardlink
GPG key ID: A5767B54367CFBDF
3 changed files with 6 additions and 3 deletions

View file

@ -12,7 +12,7 @@ let
in in
{ {
options.programs.neovim = { options.programs.neovim = {
flake = { nixd = {
hostname = mkOption { hostname = mkOption {
default = "wizdesk"; default = "wizdesk";
description = "Your NixOS hostname, needed for nixd lsp."; description = "Your NixOS hostname, needed for nixd lsp.";

View file

@ -1,7 +1,7 @@
{ config, pkgs }: { config, pkgs }:
let let
hostname = config.programs.neovim.flake.hostname; hostname = config.programs.neovim.nixd.hostname;
location = config.programs.neovim.flake.location; location = config.programs.neovim.nixd.location;
in in
#lua #lua
'' ''

View file

@ -106,6 +106,9 @@
# MODULES # # MODULES #
# #
# Set the hostname for nixd in neovim
programs.neovim.nixd.hostname = "wizlap";
# Add monitor configuration to hyprland # Add monitor configuration to hyprland
modules.hyprland = { modules.hyprland = {
# Enable scripts # Enable scripts