2024-05-27 20:26:17 +08:00
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
imports =
|
|
|
|
[
|
|
|
|
./hardware-configuration.nix
|
|
|
|
../modules/nasp.nix
|
|
|
|
];
|
2024-05-29 17:07:23 +08:00
|
|
|
nasp = {
|
2024-05-29 23:52:49 +08:00
|
|
|
enable = true;
|
|
|
|
gSeries = {
|
|
|
|
enable = true;
|
|
|
|
serial = 2;
|
2024-05-29 17:07:23 +08:00
|
|
|
eth0Name = "eno1";
|
|
|
|
eth1Name = "eno2";
|
|
|
|
eth2Name = "enp2s0np0";
|
|
|
|
};
|
|
|
|
};
|
2024-05-27 23:53:06 +08:00
|
|
|
boot.supportedFilesystems = [ "zfs" ];
|
|
|
|
boot.zfs.forceImportRoot = false;
|
|
|
|
networking.hostId = "b500d22c";
|
2024-05-27 20:26:17 +08:00
|
|
|
system.stateVersion = "23.11";
|
2024-05-27 23:53:06 +08:00
|
|
|
}
|