Archived
1
0
forked from rarias/bscpkgs

Remove host specific network options from net.nix

This commit is contained in:
2023-04-18 18:49:54 +02:00
committed by Rodrigo Arias Mallo
parent ed158ee87f
commit 9630b23ce2
2 changed files with 12 additions and 12 deletions

View File

@@ -16,6 +16,18 @@
# Select the this using the ID to avoid mismatches
boot.loader.grub.device = "/dev/disk/by-id/ata-INTEL_SSDSC2BB240G7_PHDV6462004Y240AGN";
networking = {
hostName = "xeon07";
interfaces.eno1.ipv4.addresses = [ {
address = "10.0.40.7";
prefixLength = 24;
} ];
interfaces.ibp5s0.ipv4.addresses = [ {
address = "10.0.42.7";
prefixLength = 24;
} ];
};
environment.systemPackages = with pkgs; [
(pkgs.callPackage <agenix/pkgs/agenix.nix> {})
];