depot/ops/nixos/bvm-nixosmgmt/default.nix

23 lines
400 B
Nix
Raw Normal View History

2021-03-19 20:28:24 +00:00
# SPDX-FileCopyrightText: 2020 Luke Granger-Brown <depot@lukegb.com>
#
# SPDX-License-Identifier: Apache-2.0
{ ... }:
{
2021-03-19 20:28:24 +00:00
imports = [
../lib/bvm.nix
2021-03-19 20:28:24 +00:00
];
# Networking!
networking = {
hostName = "bvm-nixosmgmt";
2021-03-19 20:28:24 +00:00
hostId = "49b0fbc7";
interfaces.enp1s0 = {
ipv4.addresses = [{ address = "10.100.0.200"; prefixLength = 23; }];
};
};
system.stateVersion = "21.05";
}