blob: c1be877ad91d7683d2822abd448ad7c81307f8da (
plain) (
blame)
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
|
{
inputs,
outputs,
secrets,
self,
kansaiPkgs,
lib,
pcModules,
}:
{
flake.nixosConfigurations.kansai =
let
pkgs =
(kansaiPkgs {
nixpkgsAllowUnfree = true;
nixpkgsCudaSupport = true;
})."x86_64-linux";
in
lib.nixosSystem {
inherit pkgs;
specialArgs = {
inherit
inputs
outputs
secrets
self
;
};
modules =
with inputs;
[
home-manager.nixosModule
nur.nixosModules.nur
chaotic.nixosModules.default
./configuration.nix
./hardware-configuration.nix
]
++ pcModules pkgs.system;
};
}
|