mirror of
https://github.com/CHN-beta/nixos.git
synced 2026-01-12 04:19:22 +08:00
23 lines
460 B
Nix
23 lines
460 B
Nix
inputs:
|
|
{
|
|
config =
|
|
{
|
|
nixos =
|
|
{
|
|
system =
|
|
{
|
|
nixpkgs.march = "znver3";
|
|
network =
|
|
{
|
|
static.enp58s0 =
|
|
{ ip = "192.168.178.2"; mask = 24; gateway = "192.168.178.1"; dns = "192.168.178.1"; };
|
|
trust = [ "enp58s0" ];
|
|
};
|
|
fileSystems.swap = [ "/nix/swap/swap" ];
|
|
};
|
|
services.beesd."/".hashTableSizeMB = 64;
|
|
};
|
|
services.hardware.bolt.enable = true;
|
|
};
|
|
}
|