Add: neovim git configuration
This commit is contained in:
parent
c6e5dc2762
commit
55aad968ab
5 changed files with 85 additions and 140 deletions
10
flake.nix
10
flake.nix
|
|
@ -14,6 +14,7 @@
|
|||
};
|
||||
nur.url = "github:nix-community/NUR";
|
||||
agenix.url = "github:ryantm/agenix";
|
||||
nvim-config.url = "git+https://govel.porzh.me/DuN0z/neovim-config.git";
|
||||
};
|
||||
|
||||
outputs = {
|
||||
|
|
@ -23,6 +24,7 @@
|
|||
home-manager,
|
||||
nur,
|
||||
agenix,
|
||||
nvim-config,
|
||||
...
|
||||
}: let
|
||||
mkUnstablePkgsWithNur = {
|
||||
|
|
@ -37,6 +39,7 @@
|
|||
in {
|
||||
nixosConfigurations = {
|
||||
pennsardin = nixpkgs-unstable.lib.nixosSystem {
|
||||
specialArgs = { inherit nvim-config; };
|
||||
system = "x86_64-linux";
|
||||
pkgs = mkUnstablePkgsWithNur {
|
||||
system = "x86_64-linux";
|
||||
|
|
@ -48,6 +51,13 @@
|
|||
modules = [
|
||||
./hosts/pennsardin/configuration.nix
|
||||
home-manager.nixosModules.home-manager
|
||||
{
|
||||
home-manager = {
|
||||
useGlobalPkgs = true ;
|
||||
useUserPackages = true ;
|
||||
extraSpecialArgs = {inherit nvim-config; };
|
||||
};
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue