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
|
||||
{
|
||||
options.programs.neovim = {
|
||||
flake = {
|
||||
nixd = {
|
||||
hostname = mkOption {
|
||||
default = "wizdesk";
|
||||
description = "Your NixOS hostname, needed for nixd lsp.";
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{ config, pkgs }:
|
||||
let
|
||||
hostname = config.programs.neovim.flake.hostname;
|
||||
location = config.programs.neovim.flake.location;
|
||||
hostname = config.programs.neovim.nixd.hostname;
|
||||
location = config.programs.neovim.nixd.location;
|
||||
in
|
||||
#lua
|
||||
''
|
||||
|
|
|
@ -106,6 +106,9 @@
|
|||
# MODULES #
|
||||
#
|
||||
|
||||
# Set the hostname for nixd in neovim
|
||||
programs.neovim.nixd.hostname = "wizlap";
|
||||
|
||||
# Add monitor configuration to hyprland
|
||||
modules.hyprland = {
|
||||
# Enable scripts
|
||||
|
|
Loading…
Reference in a new issue