forked from gytis-ivaskevicius/flake-utils-plus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
flake.nix
53 lines (35 loc) · 1014 Bytes
/
flake.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
{
description = "Home Manager + NUR + Neovim config";
inputs = {
nixpkgs.url = github:nixos/nixpkgs/nixos-unstable-small;
utils.url = path:../../;
nur.url = github:nix-community/NUR;
neovim = {
url = github:neovim/neovim?dir=contrib;
inputs.nixpkgs.follows = "nixpkgs";
};
home-manager = {
url = github:nix-community/home-manager/release-21.05;
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = inputs@{ self, nixpkgs, utils, home-manager, neovim, nur }:
utils.lib.mkFlake {
inherit self inputs;
channelsConfig.allowUnfree = true;
sharedOverlays = [
nur.overlay
self.overlay
neovim.overlay
];
# Modules shared between all hosts
hostDefaults.modules = [
home-manager.nixosModules.home-manager
./modules/sharedConfigurationBetweenHosts.nix
];
hosts.Rick.modules = [
./hosts/Rick.nix
];
overlay = import ./overlays;
};
}