nix-on-droid/tests/on-device/config-flake-hosts.cfg.nix
Sergey Volkov 91f353edb0 update inputs and copyrights to 24.05
Co-authored-by: Alexander Sosedkin <monk@unboiled.info>
2024-07-08 00:54:46 +02:00

19 lines
249 B
Nix

{ pkgs, ... }:
{
system.stateVersion = "24.05";
networking = {
hosts."127.0.0.2" = [ "a" "b" ];
extraHosts = ''
127.0.0.3 c
'';
hostFiles = [
(pkgs.writeText "hosts" ''
127.0.0.4 d
'')
];
};
}