feat(flake): add nvf package and import to systemPackages
This commit is contained in:
parent
fdeb289590
commit
7a7f6b1e25
2 changed files with 199 additions and 1 deletions
14
flake.nix
14
flake.nix
|
@ -5,8 +5,10 @@
|
|||
self,
|
||||
nixpkgs,
|
||||
home-manager,
|
||||
nvf,
|
||||
...
|
||||
} @ inputs: {
|
||||
# System Configurations
|
||||
nixosConfigurations = {
|
||||
nemesis = nixpkgs.lib.nixosSystem {
|
||||
specialArgs = { inherit inputs; };
|
||||
|
@ -26,9 +28,18 @@
|
|||
./users/rafiq
|
||||
];
|
||||
}
|
||||
|
||||
# Include NVF in the system
|
||||
({ pkgs, ... }: { environment.systemPackages = [ self.packages.${pkgs.stdenv.system}.nvf ]; })
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
# NVF Configurations
|
||||
packages.x86_64-linux.nvf = (inputs.nvf.lib.neovimConfiguration {
|
||||
pkgs = nixpkgs.legacyPackages.x86_64-linux;
|
||||
modules = [ ( {pkgs, ...}: {} ) ];
|
||||
}).neovim;
|
||||
};
|
||||
|
||||
inputs = {
|
||||
|
@ -36,5 +47,8 @@
|
|||
|
||||
home-manager.url = "github:nix-community/home-manager";
|
||||
home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
||||
|
||||
nvf.url = "github:notashelf/nvf";
|
||||
nvf.inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue