fix(neovim): rename flake option to nixd and set for laptop
This commit is contained in:
parent
4b2e262cdf
commit
6cde9353ab
|
@ -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.";
|
||||||
|
|
|
@ -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
|
||||||
''
|
''
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue