mirror of
https://github.com/nix-community/nix-on-droid.git
synced 2025-11-08 19:46:07 +01:00
19 lines
249 B
Nix
19 lines
249 B
Nix
{ pkgs, ... }:
|
|
|
|
{
|
|
system.stateVersion = "23.05";
|
|
|
|
networking = {
|
|
hosts."127.0.0.2" = [ "a" "b" ];
|
|
|
|
extraHosts = ''
|
|
127.0.0.3 c
|
|
'';
|
|
|
|
hostFiles = [
|
|
(pkgs.writeText "hosts" ''
|
|
127.0.0.4 d
|
|
'')
|
|
];
|
|
};
|
|
}
|