moved home-manager options to the "home" namespace
this frees up the "host" namespace for host-wide options.
This commit is contained in:
parent
ec2a7506a3
commit
9eb783a3e8
17 changed files with 64 additions and 55 deletions
|
@ -28,7 +28,7 @@
|
|||
BreakBeforeBinaryOperators: NonAssignment
|
||||
...
|
||||
'';
|
||||
"work/.clang-format" = lib.mkIf config.host.git.workProfile.enable {
|
||||
"work/.clang-format" = lib.mkIf config.home.git.workProfile.enable {
|
||||
text = ''
|
||||
---
|
||||
#this syncronizes with settings used by neovims treesitters so that the lsp formatting and treesitter formatting do not fight eatch other.
|
||||
|
|
|
@ -5,13 +5,13 @@
|
|||
...
|
||||
}: {
|
||||
options = {
|
||||
host.nvim.enable-lsp = lib.mkEnableOption "nvim lsp";
|
||||
home.nvim.enable-lsp = lib.mkEnableOption "nvim lsp";
|
||||
};
|
||||
|
||||
config =
|
||||
lib.mkIf config.host.nvim.enable-lsp
|
||||
lib.mkIf config.home.nvim.enable-lsp
|
||||
{
|
||||
host.nvim.enable-completions = true;
|
||||
home.nvim.enable-completions = true;
|
||||
programs.nixvim = {
|
||||
plugins.lsp = {
|
||||
enable = true;
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
...
|
||||
}: {
|
||||
config =
|
||||
lib.mkIf config.host.nvim.enable-lsp
|
||||
lib.mkIf config.home.nvim.enable-lsp
|
||||
{
|
||||
programs.nixvim = {
|
||||
plugins.rust-tools = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue