neovim lspconfig

This commit is contained in:
Tristan 2023-12-23 15:43:26 +00:00
parent fb5c04a84a
commit 34aaaf63d2
29 changed files with 1705 additions and 1399 deletions

View file

@ -1,23 +1,25 @@
name:
{ nixpkgs
, inputs
, home-manager
, system
, user
, laptop ? false
, work ? false
, userName
, ...
name: {
nixpkgs,
inputs,
home-manager,
system,
user,
laptop ? false,
work ? false,
userName,
...
}:
nixpkgs.lib.nixosSystem rec {
specialArgs = { inherit inputs; };
specialArgs = {inherit inputs;};
inherit system;
modules = [
({ inputs, pkgs, ... }: {
({
inputs,
pkgs,
...
}: {
programs.hyprland = {
enable = true;
package = inputs.hyprland.packages.${pkgs.system}.hyprland;
@ -25,12 +27,12 @@ nixpkgs.lib.nixosSystem rec {
})
{
nix.settings = {
substituters = [ "https://hyprland.cachix.org" ];
trusted-public-keys = [ "hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc=" ];
substituters = ["https://hyprland.cachix.org"];
trusted-public-keys = ["hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="];
};
}
inputs.stylix.nixosModules.stylix
({ pkgs, ... }: {
({pkgs, ...}: {
stylix.image = ../images/demonslayer.png;
stylix.base16Scheme = "${pkgs.base16-schemes}/share/themes/gruvbox-dark-hard.yaml";
})
@ -39,6 +41,6 @@ nixpkgs.lib.nixosSystem rec {
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
}
(import ./home.nix { inherit inputs user userName name laptop work; })
(import ./home.nix {inherit inputs user userName name laptop work;})
];
}