1
0
Fork 0
dotfiles/flake.nix

39 lines
985 B
Nix
Raw Normal View History

2021-12-06 22:35:29 +00:00
{
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
home-manager.url = "github:nix-community/home-manager";
home-manager.inputs.nixpkgs.follows = "nixpkgs";
neovim-nightly-overlay.url = "github:nix-community/neovim-nightly-overlay";
};
outputs = inputs@{ self, nixpkgs, home-manager, ... }: {
homeConfigurations = {
daniel = inputs.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;
in
{
nixpkgs.overlays = [
overlay-neovim
];
nixpkgs.config = {
allowUnfree = true;
allowBroken = true;
};
imports = [ ./home.nix ];
};
};
};
};
}