Files
dotfiles/config/nix/flake.nix
2024-02-14 22:52:33 +05:30

38 lines
1.0 KiB
Nix

{
description = "Home Manager configuration of fs0c131y";
inputs = {
# Specify the source of Home Manager and Nixpkgs.
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
neovim-nightly-overlay.url = "github:nix-community/neovim-nightly-overlay";
};
outputs = { nixpkgs, home-manager, ... }@inputs:
let
system = "x86_64-linux";
overlays = [ inputs.neovim-nightly-overlay.overlay ];
pkgs = nixpkgs.legacyPackages.${system};
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
({
nixpkgs.overlays = overlays;
})
];
# Optionally use extraSpecialArgs
# to pass through arguments to home.nix
};
};
}