-
Notifications
You must be signed in to change notification settings - Fork 2
/
flake.nix
39 lines (37 loc) · 1.05 KB
/
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
{
description = "My blazingly fast nixos config";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-24.05";
nixpkgs-2311.url = "github:nixos/nixpkgs?ref=nixos-23.11";
nixpkgs-unstable.url = "github:nixos/nixpkgs?ref=nixos-unstable";
flake-utils.url = "github:numtide/flake-utils";
home-manager = {
url = "github:nix-community/home-manager/master";
inputs.nixpkgs.follows = "nixpkgs";
};
astronvim = {
url = "github:AstroNvim/AstroNvim/v4.7.7";
flake = false;
};
};
outputs =
{ self
, nixpkgs
, nixpkgs-2311
, nixpkgs-unstable
, home-manager
, flake-utils
, ...
} @ inputs:
let
inherit (self) outputs;
lib = nixpkgs.lib // home-manager.lib;
in
{
inherit lib;
overlays = import ./common/overlays.nix { inherit inputs; };
configurationModules = import ./common/configuration-modules;
homeManagerModules = import ./common/home-manager;
nixosConfigurations = import ./machines { inherit nixpkgs inputs outputs; };
};
}