Compare commits
No commits in common. "6bfa745a97f761ab43bc595d6c30b45b35bbdcfb" and "5d22d6aea00aa4826a24d6fd524524d01e1fdfa1" have entirely different histories.
6bfa745a97
...
5d22d6aea0
6 changed files with 9 additions and 98 deletions
20
flake.nix
20
flake.nix
|
@ -72,7 +72,11 @@ in {
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
specialArgs = {
|
specialArgs = {
|
||||||
inherit stateVersion inputs;
|
inherit stateVersion inputs;
|
||||||
|
hostname = "luci";
|
||||||
|
username = "ephase";
|
||||||
|
hostConfig = {
|
||||||
|
desktop = true;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
modules = [
|
modules = [
|
||||||
./nixos/default.nix
|
./nixos/default.nix
|
||||||
|
@ -95,20 +99,6 @@ in {
|
||||||
./home-manager/default.nix
|
./home-manager/default.nix
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
work = home-manager.lib.homeManagerConfiguration {
|
|
||||||
pkgs = import nixpkgs {
|
|
||||||
system = "x86_64-linux";
|
|
||||||
overlays = [ nixgl.overlay ];
|
|
||||||
};
|
|
||||||
extraSpecialArgs = {
|
|
||||||
inherit stateVersion inputs;
|
|
||||||
hostname = "yorick-Latitude-7320";
|
|
||||||
username = "yorick";
|
|
||||||
};
|
|
||||||
modules = [
|
|
||||||
./home-manager/default.nix
|
|
||||||
];
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -15,4 +15,5 @@
|
||||||
]++ lib.optional (
|
]++ lib.optional (
|
||||||
builtins.pathExists ../hosts/${hostname}/includes/home-manager.nix
|
builtins.pathExists ../hosts/${hostname}/includes/home-manager.nix
|
||||||
) ../hosts/${hostname}/includes/home-manager.nix;
|
) ../hosts/${hostname}/includes/home-manager.nix;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,26 +0,0 @@
|
||||||
{ ... }: {
|
|
||||||
config.modules = {
|
|
||||||
application = {
|
|
||||||
zathura.enable = true;
|
|
||||||
foot.enable = true;
|
|
||||||
};
|
|
||||||
audio.cmus.enable = true;
|
|
||||||
cli = {
|
|
||||||
direnv.enable = true;
|
|
||||||
ghq.enable = true;
|
|
||||||
git = {
|
|
||||||
enable = true;
|
|
||||||
userEmail = "ybarbanneau@sellsy.com";
|
|
||||||
};
|
|
||||||
neovim.enable = true;
|
|
||||||
starship.enable = true;
|
|
||||||
utils.enable = true;
|
|
||||||
vifm.enable = true;
|
|
||||||
zsh.enable = true;
|
|
||||||
};
|
|
||||||
web.firefox = {
|
|
||||||
enable = true;
|
|
||||||
enableNixGL = true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -1,20 +0,0 @@
|
||||||
{ pkgs, ... }:
|
|
||||||
{
|
|
||||||
home.packages = with pkgs; [
|
|
||||||
dejavu_fonts
|
|
||||||
font-awesome
|
|
||||||
lato
|
|
||||||
liberation_ttf
|
|
||||||
libertine
|
|
||||||
libnotify
|
|
||||||
(nerdfonts.override {
|
|
||||||
fonts = [
|
|
||||||
"FiraCode"
|
|
||||||
];
|
|
||||||
})
|
|
||||||
noto-fonts-emoji
|
|
||||||
noto-fonts-cjk
|
|
||||||
slurp
|
|
||||||
wl-clipboard
|
|
||||||
];
|
|
||||||
}
|
|
|
@ -28,17 +28,13 @@ in
|
||||||
# LSP Servers
|
# LSP Servers
|
||||||
clang-tools
|
clang-tools
|
||||||
hadolint
|
hadolint
|
||||||
helm-ls
|
|
||||||
lua-language-server
|
lua-language-server
|
||||||
marksman
|
marksman
|
||||||
nil
|
nil
|
||||||
nodePackages.bash-language-server
|
nodePackages.bash-language-server
|
||||||
python3Packages.python-lsp-server
|
python3Packages.python-lsp-server
|
||||||
shellcheck
|
shellcheck
|
||||||
|
# yaml-language-server
|
||||||
terraform-lsp
|
|
||||||
tflint
|
|
||||||
yaml-language-server
|
|
||||||
|
|
||||||
# Formatters
|
# Formatters
|
||||||
nixfmt-rfc-style
|
nixfmt-rfc-style
|
||||||
|
@ -119,15 +115,12 @@ in
|
||||||
p.cpp
|
p.cpp
|
||||||
p.cmake
|
p.cmake
|
||||||
p.dockerfile
|
p.dockerfile
|
||||||
p.hcl
|
|
||||||
p.helm
|
|
||||||
p.latex
|
p.latex
|
||||||
p.lua
|
p.lua
|
||||||
p.llvm
|
p.llvm
|
||||||
p.markdown
|
p.markdown
|
||||||
p.markdown_inline
|
p.markdown_inline
|
||||||
p.python
|
p.python
|
||||||
p.terraform
|
|
||||||
p.vim
|
p.vim
|
||||||
p.yaml
|
p.yaml
|
||||||
])
|
])
|
||||||
|
@ -165,7 +158,6 @@ in
|
||||||
type = "lua";
|
type = "lua";
|
||||||
config = ( builtins.readFile ./files/whichkey.lua );
|
config = ( builtins.readFile ./files/whichkey.lua );
|
||||||
}
|
}
|
||||||
vim-helm
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -2,21 +2,6 @@ local lspconfig = require('lspconfig')
|
||||||
|
|
||||||
lspconfig.bashls.setup {}
|
lspconfig.bashls.setup {}
|
||||||
lspconfig.clangd.setup {}
|
lspconfig.clangd.setup {}
|
||||||
lspconfig.helm_ls.setup{
|
|
||||||
settings = {
|
|
||||||
['helm-ls'] = {
|
|
||||||
logLevel = "info",
|
|
||||||
valuesFiles = {
|
|
||||||
mainValuesFile = "values.yaml",
|
|
||||||
lintOverlayValuesFile = "values.lint.yaml",
|
|
||||||
additionalValuesFilesGlobPattern = "values*.yaml"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
yamlls = {
|
|
||||||
enabled = false,
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
lspconfig.lua_ls.setup {
|
lspconfig.lua_ls.setup {
|
||||||
single_file_support = true,
|
single_file_support = true,
|
||||||
flags = {
|
flags = {
|
||||||
|
@ -29,25 +14,14 @@ lspconfig.pylsp.setup {
|
||||||
settings = {
|
settings = {
|
||||||
pylsp = {
|
pylsp = {
|
||||||
plugins = {
|
plugins = {
|
||||||
pylint = {
|
pylint = {
|
||||||
enabled = true
|
enabled = true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
lspconfig.terraformls.setup{}
|
lspconfig.yamlls.setup{}
|
||||||
lspconfig.tflint.setup{}
|
|
||||||
lspconfig.yamlls.setup{
|
|
||||||
settings = {
|
|
||||||
yaml = {
|
|
||||||
schemas = {
|
|
||||||
["https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.30.0/all.json"] = {"k8s/**/*.yaml", "cluster/**/*.yaml",},
|
|
||||||
["https://taskfile.dev/schema.json"] = {"**/Taskfile.*", "**/taskfile.*",},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
}
|
|
||||||
|
|
||||||
vim.api.nvim_create_autocmd('LspAttach', {
|
vim.api.nvim_create_autocmd('LspAttach', {
|
||||||
desc = 'LSP actions',
|
desc = 'LSP actions',
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue