-
Notifications
You must be signed in to change notification settings - Fork 0
/
flake.nix
43 lines (37 loc) · 1.26 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
{
description = "Collection of my NixOS machines";
inputs = {
nixpkgs2205.url = "github:NixOS/nixpkgs/nixos-22.05";
nixpkgs.url = "github:NixOS/nixpkgs/nixos-22.11";
# Use vital-modules, with the same nixpkgs
vital-modules.url = "github:nixvital/vital-modules";
vital-modules.inputs.nixpkgs.follows = "nixpkgs";
# Use nixos-home, with the same nixpkgs
nixos-home.url = "github:breakds/nixos-home";
nixos-home.inputs.nixpkgs.follows = "nixpkgs";
};
outputs = { self, nixpkgs, vital-modules, nixos-home, ... }@inputs: {
nixosConfigurations = {
# The router welderhelper is an Intel NUC with Intel i5-4250U
# dual cores.
welderhelper = inputs.nixpkgs2205.lib.nixosSystem {
system = "x86_64-linux";
modules = [
vital-modules.nixosModules.foundation
nixos-home.nixosModules.breakds-home
./machines/welderhelper
];
};
# The router pyrechomper is a topton mini PC with Intel N5105
# quad cores.
pyrechomper = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
vital-modules.nixosModules.foundation
nixos-home.nixosModules.breakds-home
./machines/pyrechomper
];
};
};
};
}