-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathflake.nix
43 lines (42 loc) · 1.2 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
{
inputs = {
nixpkgs.url = github:NixOS/nixpkgs/master;
tvbeat-ssh.url = github:tvbeat/tvbeat-ssh;
tvbeat-ssh.inputs.nixpkgs.follows = "nixpkgs";
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
};
outputs = { self, nixpkgs, tvbeat-ssh, nixos-hardware, ... }:
{
nixosConfigurations = {
x1 = nixpkgs.lib.nixosSystem {
specialArgs = { inherit nixpkgs tvbeat-ssh; };
pkgs = import nixpkgs {
system = "x86_64-linux";
overlays = [
(import ./pkgs/overlay)
];
config.allowUnfree = true;
};
modules = [
./common.nix
./x1/configuration.nix
];
};
fw = nixpkgs.lib.nixosSystem {
specialArgs = { inherit nixpkgs tvbeat-ssh; };
pkgs = import nixpkgs {
system = "x86_64-linux";
overlays = [
(import ./pkgs/overlay)
];
config.allowUnfree = true;
};
modules = [
./common.nix
./fw/configuration.nix
nixos-hardware.nixosModules.framework-intel-core-ultra-series1
];
};
};
};
}