-
Notifications
You must be signed in to change notification settings - Fork 0
/
flake.nix
45 lines (39 loc) · 1.11 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
40
41
42
43
44
45
{
description = "My splendid NixOS configuration.";
inputs = {
nixpkgs.url = "nixpkgs/nixos-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";
};
emacs-overlay.url = "github:nix-community/emacs-overlay";
nix-colors.url = "github:misterio77/nix-colors";
anyrun.url = "github:Kirottu/anyrun";
eww.url = "github:elkowar/eww";
eww-scripts.url = "github:zeapoz/eww-scripts";
};
outputs = inputs @ {nixpkgs, ...}: let
system = "x86_64-linux";
overlays = import ./overlays {inherit inputs;};
pkgs = import nixpkgs {
inherit system overlays;
config.allowUnfree = true;
};
lib = import ./lib {inherit inputs;};
in {
nixosConfigurations = with lib; {
helium = mkHost {
hostName = "helium";
inherit system pkgs lib;
};
neon = mkHost {
hostName = "neon";
inherit system pkgs lib;
};
};
};
}