feat(nixvim): base my vim config upon nixvim
This commit is contained in:
17
flake.nix
17
flake.nix
@@ -16,9 +16,14 @@
|
||||
url = "github:noctalia-dev/noctalia-shell";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
# nixvim
|
||||
nixvim = {
|
||||
url = "github:nix-community/nixvim";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
};
|
||||
|
||||
outputs = inputs@{self, nixpkgs, home-manager, ... }: let
|
||||
outputs = inputs@{self, nixpkgs, home-manager, nixvim, ... }: let
|
||||
lib = nixpkgs.lib;
|
||||
system = "x86_64-linux";
|
||||
pkgs = nixpkgs.legacyPackages.${system};
|
||||
@@ -51,13 +56,19 @@
|
||||
./hosts/neon/hardware-configuration.nix
|
||||
# import noctalia shell configs
|
||||
./hosts/neon/noctalia.nix
|
||||
# Add home-manager form my user as a module
|
||||
# import home-manager as a module
|
||||
home-manager.nixosModules.home-manager
|
||||
{
|
||||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.useUserPackages = true;
|
||||
home-manager.users.aaron = import ./hosts/neon/home.nix;
|
||||
home-manager.extraSpecialArgs = { inherit inputs; };
|
||||
# User specific inputs
|
||||
home-manager.users.aaron = {
|
||||
imports = [
|
||||
nixvim.homeModules.nixvim
|
||||
./hosts/neon/home.nix
|
||||
];
|
||||
};
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user