52 lines
1.3 KiB
Nix
52 lines
1.3 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";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
nifoc-overlay = {
|
|
url = "github:nifoc/nix-overlay";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
};
|
|
|
|
outputs = inputs@{ self, nixpkgs, home-manager, ... }: {
|
|
homeConfigurations = {
|
|
daniel = home-manager.lib.homeManagerConfiguration {
|
|
system = "aarch64-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 ];
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|