2021-12-06 22:35:29 +00:00
|
|
|
{
|
|
|
|
inputs = {
|
|
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
|
|
|
|
|
2021-12-10 21:15:13 +00:00
|
|
|
home-manager = {
|
|
|
|
url = "github:nix-community/home-manager";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
2021-12-06 22:35:29 +00:00
|
|
|
|
|
|
|
neovim-nightly-overlay.url = "github:nix-community/neovim-nightly-overlay";
|
|
|
|
};
|
|
|
|
|
|
|
|
outputs = inputs@{ self, nixpkgs, home-manager, ... }: {
|
|
|
|
homeConfigurations = {
|
2021-12-10 21:15:13 +00:00
|
|
|
daniel = home-manager.lib.homeManagerConfiguration {
|
2021-12-06 22:35:29 +00:00
|
|
|
system = "x86_64-darwin";
|
|
|
|
homeDirectory = "/Users/daniel";
|
|
|
|
username = "daniel";
|
|
|
|
stateVersion = "21.11";
|
|
|
|
|
|
|
|
configuration = { config, pkgs, ... }:
|
|
|
|
let
|
|
|
|
overlay-neovim = inputs.neovim-nightly-overlay.overlay;
|
|
|
|
in
|
|
|
|
{
|
2021-12-10 21:15:13 +00:00
|
|
|
nixpkgs = {
|
|
|
|
overlays = [
|
|
|
|
overlay-neovim
|
|
|
|
];
|
2021-12-06 22:35:29 +00:00
|
|
|
|
2021-12-10 21:15:13 +00:00
|
|
|
config = {
|
|
|
|
allowUnfree = true;
|
|
|
|
allowBroken = true;
|
|
|
|
};
|
2021-12-06 22:35:29 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
imports = [ ./home.nix ];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|