[feat] Add cachix cache and neovim-nightly-overlay

This commit is contained in:
Uttarayan
2024-02-14 22:52:33 +05:30
parent 69a1b48822
commit 465a237519
4 changed files with 192 additions and 4 deletions

View File

@@ -8,19 +8,27 @@
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
neovim-nightly-overlay.url = "github:nix-community/neovim-nightly-overlay";
};
outputs = { nixpkgs, home-manager, ... }:
outputs = { nixpkgs, home-manager, ... }@inputs:
let
system = "x86_64-linux";
overlays = [ inputs.neovim-nightly-overlay.overlay ];
pkgs = nixpkgs.legacyPackages.${system};
in {
in
{
homeConfigurations."fs0c131y" = home-manager.lib.homeManagerConfiguration {
inherit pkgs;
# Specify your home configuration modules here, for example,
# the path to your home.nix.
modules = [ ./home.nix ];
modules = [
./home.nix
({
nixpkgs.overlays = overlays;
})
];
# Optionally use extraSpecialArgs
# to pass through arguments to home.nix