46 lines
1.1 KiB
Nix
46 lines
1.1 KiB
Nix
{
|
|
inputs = {
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
|
|
|
|
home-manager = {
|
|
url = "github:nix-community/home-manager";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
neovim-nightly-overlay.url = "github:nix-community/neovim-nightly-overlay";
|
|
|
|
nifoc-overlay.url = "github:nifoc/nix-overlay";
|
|
};
|
|
|
|
outputs = inputs@{ self, nixpkgs, home-manager, ... }: {
|
|
homeConfigurations = {
|
|
daniel = home-manager.lib.homeManagerConfiguration {
|
|
system = "x86_64-darwin";
|
|
homeDirectory = "/Users/daniel";
|
|
username = "daniel";
|
|
stateVersion = "21.11";
|
|
|
|
configuration = { config, pkgs, ... }:
|
|
let
|
|
overlay-neovim = inputs.neovim-nightly-overlay.overlay;
|
|
overlay-nifoc = inputs.nifoc-overlay.overlay;
|
|
in
|
|
{
|
|
nixpkgs = {
|
|
overlays = [
|
|
overlay-neovim
|
|
overlay-nifoc
|
|
];
|
|
|
|
config = {
|
|
allowUnfree = true;
|
|
allowBroken = true;
|
|
};
|
|
};
|
|
|
|
imports = [ ./home.nix ];
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|