mirror of
https://github.com/CHN-beta/nixos.git
synced 2026-01-12 05:29:23 +08:00
27 lines
553 B
Nix
27 lines
553 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;
|
|
lumericalLicenseManager.macAddress = "04:42:1a:26:0c:07";
|
|
};
|
|
};
|
|
services.hardware.bolt.enable = true;
|
|
};
|
|
}
|