1
0
Fork 0
dotfiles/flake.nix

53 lines
1.3 KiB
Nix
Raw Normal View History

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
2021-12-17 20:41:54 +00:00
neovim-nightly-overlay = {
url = "github:nix-community/neovim-nightly-overlay";
inputs.nixpkgs.follows = "nixpkgs";
};
2021-12-14 19:34:31 +00:00
2021-12-17 20:41:54 +00:00
nifoc-overlay = {
url = "github:nifoc/nix-overlay";
inputs.nixpkgs.follows = "nixpkgs";
};
2021-12-06 22:35:29 +00:00
};
outputs = inputs@{ self, nixpkgs, home-manager, ... }: {
homeConfigurations = {
2021-12-10 21:15:13 +00:00
daniel = home-manager.lib.homeManagerConfiguration {
2021-12-27 20:24:11 +00:00
system = "aarch64-darwin";
2021-12-06 22:35:29 +00:00
homeDirectory = "/Users/daniel";
username = "daniel";
stateVersion = "21.11";
configuration = { config, pkgs, ... }:
let
overlay-neovim = inputs.neovim-nightly-overlay.overlay;
2021-12-14 19:34:31 +00:00
overlay-nifoc = inputs.nifoc-overlay.overlay;
2021-12-06 22:35:29 +00:00
in
{
2021-12-10 21:15:13 +00:00
nixpkgs = {
overlays = [
overlay-neovim
2021-12-14 19:34:31 +00:00
overlay-nifoc
2021-12-10 21:15:13 +00:00
];
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 ];
};
};
};
};
}